Lines Matching refs:stream

100  *  audio stream parameters
123 /* common audio stream configuration parameters */
132 /* common audio stream parameters and operations */
138 uint32_t (*get_sample_rate)(const struct audio_stream *stream);
143 int (*set_sample_rate)(struct audio_stream *stream, uint32_t rate);
146 * Return size of input/output buffer in bytes for this stream - eg. 4800.
149 size_t (*get_buffer_size)(const struct audio_stream *stream);
155 audio_channel_mask_t (*get_channels)(const struct audio_stream *stream);
160 audio_format_t (*get_format)(const struct audio_stream *stream);
165 int (*set_format)(struct audio_stream *stream, audio_format_t format);
172 int (*standby)(struct audio_stream *stream);
175 int (*dump)(const struct audio_stream *stream, int fd);
177 /** Return the set of device(s) which this stream is connected to */
178 audio_devices_t (*get_device)(const struct audio_stream *stream);
186 int (*set_device)(struct audio_stream *stream, audio_devices_t device);
189 * set/get audio stream parameters. The function accepts a list of
198 * The audio flinger will put the stream in standby and then change the
201 int (*set_parameters)(struct audio_stream *stream, const char *kv_pairs);
207 char * (*get_parameters)(const struct audio_stream *stream,
209 int (*add_audio_effect)(const struct audio_stream *stream,
211 int (*remove_audio_effect)(const struct audio_stream *stream,
229 uint32_t (*get_latency)(const struct audio_stream_out *stream);
238 int (*set_volume)(struct audio_stream_out *stream, float left, float right);
246 ssize_t (*write)(struct audio_stream_out *stream, const void* buffer,
252 int (*get_render_position)(const struct audio_stream_out *stream,
259 int (*get_next_write_timestamp)(const struct audio_stream_out *stream,
270 int (*set_gain)(struct audio_stream_in *stream, float gain);
276 ssize_t (*read)(struct audio_stream_in *stream, void* buffer,
289 uint32_t (*get_input_frames_lost)(struct audio_stream_in *stream);
390 * See also get_buffer_size which is for a particular stream.
395 /** This method creates and opens the audio hardware output stream */
406 /** This method creates and opens the audio hardware input stream */