Home
last modified time | relevance | path

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

/hardware/libhardware/include/hardware/
Daudio.h153 struct audio_stream { struct
158 uint32_t (*get_sample_rate)(const struct audio_stream *stream); argument
163 int (*set_sample_rate)(struct audio_stream *stream, uint32_t rate); argument
169 size_t (*get_buffer_size)(const struct audio_stream *stream); argument
175 audio_channel_mask_t (*get_channels)(const struct audio_stream *stream); argument
180 audio_format_t (*get_format)(const struct audio_stream *stream); argument
185 int (*set_format)(struct audio_stream *stream, audio_format_t format); argument
192 int (*standby)(struct audio_stream *stream); argument
195 int (*dump)(const struct audio_stream *stream, int fd); argument
198 audio_devices_t (*get_device)(const struct audio_stream *stream); argument
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c43 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
48 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
53 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
58 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
63 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
68 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
73 static int out_standby(struct audio_stream *stream) in out_standby()
78 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
83 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
88 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.cpp119 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
126 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
136 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
143 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
150 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
158 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
167 static int out_standby(struct audio_stream *stream) in out_standby()
174 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
182 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
200 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.cpp101 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
110 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
122 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
134 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
143 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
148 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
157 static int out_standby(struct audio_stream *stream) in out_standby()
172 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
177 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
206 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters()
[all …]
/hardware/libhardware/modules/usbaudio/
Daudio_hw.c92 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
97 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
102 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
105 audio_stream_frame_size((struct audio_stream *)stream); in out_get_buffer_size()
108 static uint32_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
113 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
118 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
123 static int out_standby(struct audio_stream *stream) in out_standby()
142 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
147 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_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/qcom/audio/hal/
Daudio_hw.c1135 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
1142 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
1147 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
1158 static uint32_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
1165 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
1172 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
1177 static int out_standby(struct audio_stream *stream) in out_standby()
1211 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
1249 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
1332 static char* out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters()
[all …]