• Home
  • Raw
  • Download

Lines Matching refs:stream

54     struct audio_stream_out stream;  member
60 struct audio_stream_in stream; member
66 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate() argument
71 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate() argument
76 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size() argument
81 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels() argument
86 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format() argument
91 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format() argument
96 static int out_standby(struct audio_stream *stream) in out_standby() argument
102 static int out_dump(const struct audio_stream *stream, int fd) in out_dump() argument
104 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_dump()
113 out_get_sample_rate(stream), in out_dump()
114 out_get_buffer_size(stream), in out_dump()
115 out_get_channels(stream), in out_dump()
116 out_get_format(stream), in out_dump()
123 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters() argument
125 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_set_parameters()
150 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters() argument
152 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_parameters()
172 static uint32_t out_get_latency(const struct audio_stream_out *stream) in out_get_latency() argument
177 static int out_set_volume(struct audio_stream_out *stream, float left, in out_set_volume() argument
183 static ssize_t out_write(struct audio_stream_out *stream, const void* buffer, in out_write() argument
186 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_write()
197 static int out_get_render_position(const struct audio_stream_out *stream, in out_get_render_position() argument
203 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_add_audio_effect() argument
209 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_remove_audio_effect() argument
215 static int out_get_next_write_timestamp(const struct audio_stream_out *stream, in out_get_next_write_timestamp() argument
222 static uint32_t in_get_sample_rate(const struct audio_stream *stream) in in_get_sample_rate() argument
227 static int in_set_sample_rate(struct audio_stream *stream, uint32_t rate) in in_set_sample_rate() argument
232 static size_t in_get_buffer_size(const struct audio_stream *stream) in in_get_buffer_size() argument
237 static audio_channel_mask_t in_get_channels(const struct audio_stream *stream) in in_get_channels() argument
242 static audio_format_t in_get_format(const struct audio_stream *stream) in in_get_format() argument
247 static int in_set_format(struct audio_stream *stream, audio_format_t format) in in_set_format() argument
252 static int in_standby(struct audio_stream *stream) in in_standby() argument
258 static int in_dump(const struct audio_stream *stream, int fd) in in_dump() argument
260 struct generic_stream_in *in = (struct generic_stream_in *)stream; in in_dump()
269 in_get_sample_rate(stream), in in_dump()
270 in_get_buffer_size(stream), in in_dump()
271 in_get_channels(stream), in in_dump()
272 in_get_format(stream), in in_dump()
279 static int in_set_parameters(struct audio_stream *stream, const char *kvpairs) in in_set_parameters() argument
281 struct generic_stream_in *in = (struct generic_stream_in *)stream; in in_set_parameters()
306 static char * in_get_parameters(const struct audio_stream *stream, in in_get_parameters() argument
309 struct generic_stream_in *in = (struct generic_stream_in *)stream; in in_get_parameters()
329 static int in_set_gain(struct audio_stream_in *stream, float gain) in in_set_gain() argument
335 static ssize_t in_read(struct audio_stream_in *stream, void* buffer, in in_read() argument
338 struct generic_stream_in *in = (struct generic_stream_in *)stream; in in_read()
352 static uint32_t in_get_input_frames_lost(struct audio_stream_in *stream) in in_get_input_frames_lost() argument
357 static int in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_add_audio_effect() argument
363 static int in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_remove_audio_effect() argument
400 out->stream.common.get_sample_rate = out_get_sample_rate; in adev_open_output_stream()
401 out->stream.common.set_sample_rate = out_set_sample_rate; in adev_open_output_stream()
402 out->stream.common.get_buffer_size = out_get_buffer_size; in adev_open_output_stream()
403 out->stream.common.get_channels = out_get_channels; in adev_open_output_stream()
404 out->stream.common.get_format = out_get_format; in adev_open_output_stream()
405 out->stream.common.set_format = out_set_format; in adev_open_output_stream()
406 out->stream.common.standby = out_standby; in adev_open_output_stream()
407 out->stream.common.dump = out_dump; in adev_open_output_stream()
408 out->stream.common.set_parameters = out_set_parameters; in adev_open_output_stream()
409 out->stream.common.get_parameters = out_get_parameters; in adev_open_output_stream()
410 out->stream.common.add_audio_effect = out_add_audio_effect; in adev_open_output_stream()
411 out->stream.common.remove_audio_effect = out_remove_audio_effect; in adev_open_output_stream()
412 out->stream.get_latency = out_get_latency; in adev_open_output_stream()
413 out->stream.set_volume = out_set_volume; in adev_open_output_stream()
414 out->stream.write = out_write; in adev_open_output_stream()
415 out->stream.get_render_position = out_get_render_position; in adev_open_output_stream()
416 out->stream.get_next_write_timestamp = out_get_next_write_timestamp; in adev_open_output_stream()
421 *stream_out = &out->stream; in adev_open_output_stream()
430 struct audio_stream_out *stream) in adev_close_output_stream() argument
435 if (stream == adev->output) { in adev_close_output_stream()
436 free(stream); in adev_close_output_stream()
552 in->stream.common.get_sample_rate = in_get_sample_rate; in adev_open_input_stream()
553 in->stream.common.set_sample_rate = in_set_sample_rate; in adev_open_input_stream()
554 in->stream.common.get_buffer_size = in_get_buffer_size; in adev_open_input_stream()
555 in->stream.common.get_channels = in_get_channels; in adev_open_input_stream()
556 in->stream.common.get_format = in_get_format; in adev_open_input_stream()
557 in->stream.common.set_format = in_set_format; in adev_open_input_stream()
558 in->stream.common.standby = in_standby; in adev_open_input_stream()
559 in->stream.common.dump = in_dump; in adev_open_input_stream()
560 in->stream.common.set_parameters = in_set_parameters; in adev_open_input_stream()
561 in->stream.common.get_parameters = in_get_parameters; in adev_open_input_stream()
562 in->stream.common.add_audio_effect = in_add_audio_effect; in adev_open_input_stream()
563 in->stream.common.remove_audio_effect = in_remove_audio_effect; in adev_open_input_stream()
564 in->stream.set_gain = in_set_gain; in adev_open_input_stream()
565 in->stream.read = in_read; in adev_open_input_stream()
566 in->stream.get_input_frames_lost = in_get_input_frames_lost; in adev_open_input_stream()
571 *stream_in = &in->stream; in adev_open_input_stream()
580 struct audio_stream_in *stream) in adev_close_input_stream() argument
585 if (stream == adev->input) { in adev_close_input_stream()
586 free(stream); in adev_close_input_stream()