Home
last modified time | relevance | path

Searched refs:audio_stream (Results 1 – 8 of 8) sorted by relevance

/hardware/libhardware/include/hardware/
Daudio.h104 struct audio_stream { struct
109 uint32_t (*get_sample_rate)(const struct audio_stream *stream); argument
114 int (*set_sample_rate)(struct audio_stream *stream, uint32_t rate); argument
120 size_t (*get_buffer_size)(const struct audio_stream *stream); argument
126 audio_channel_mask_t (*get_channels)(const struct audio_stream *stream); argument
131 audio_format_t (*get_format)(const struct audio_stream *stream); argument
136 int (*set_format)(struct audio_stream *stream, audio_format_t format); argument
143 int (*standby)(struct audio_stream *stream); argument
146 int (*dump)(const struct audio_stream *stream, int fd); argument
149 audio_devices_t (*get_device)(const struct audio_stream *stream); argument
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c49 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
54 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
60 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
66 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
72 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
78 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
84 static int out_standby(struct audio_stream *stream) in out_standby()
91 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
97 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
103 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters()
[all …]
/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp121 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
128 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
138 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
145 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
152 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
160 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
169 static int out_standby(struct audio_stream *stream) in out_standby()
176 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
184 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
202 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_hw_hal.cpp142 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
149 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
159 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
166 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
173 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
180 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
189 static int out_standby(struct audio_stream *stream) in out_standby()
196 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
204 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
222 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters()
[all …]
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c289 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
296 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
301 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
309 static uint32_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
315 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
326 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
331 static int out_standby(struct audio_stream *stream) in out_standby()
346 static int out_dump(const struct audio_stream *stream, int fd) { in out_dump()
360 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
403 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters()
[all …]
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp286 struct audio_stream * const stream) in audio_stream_get_submix_stream_out()
305 struct audio_stream * const stream) in audio_stream_get_submix_stream_in()
602 static size_t calculate_stream_pipe_size_in_frames(const struct audio_stream *stream, in audio_config_compare()
614 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in audio_config_compare()
617 const_cast<struct audio_stream *>(stream)); in audio_config_compare()
628 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in audio_config_compare()
651 static size_t out_get_buffer_size(const struct audio_stream *stream) in audio_config_compare()
654 const_cast<struct audio_stream *>(stream)); in audio_config_compare()
666 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in audio_config_compare()
669 const_cast<struct audio_stream *>(stream)); in audio_config_compare()
[all …]
/hardware/intel/audio_media/hdmi/
Dtinyaudio_hw.c279 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
285 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
293 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
323 static uint32_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
330 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
337 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
345 static int out_standby(struct audio_stream *stream) in out_standby()
369 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
376 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
493 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters()
[all …]
/hardware/qcom/audio/hal/
Daudio_hw.c2039 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
2046 static int out_set_sample_rate(struct audio_stream *stream __unused, uint32_t rate __unused) in out_set_sample_rate()
2051 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
2062 static uint32_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
2069 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
2076 static int out_set_format(struct audio_stream *stream __unused, audio_format_t format __unused) in out_set_format()
2082 static int out_standby_l(struct audio_stream *stream) in out_standby_l()
2119 static int out_standby(struct audio_stream *stream) in out_standby()
2133 static int out_on_error(struct audio_stream *stream) in out_on_error()
2155 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
[all …]