Searched refs:audio_stream (Results 1 – 6 of 6) sorted by relevance
/hardware/libhardware/include/hardware/ |
D | audio.h | 116 struct audio_stream { struct 121 uint32_t (*get_sample_rate)(const struct audio_stream *stream); argument 126 int (*set_sample_rate)(struct audio_stream *stream, uint32_t rate); argument 132 size_t (*get_buffer_size)(const struct audio_stream *stream); argument 138 audio_channel_mask_t (*get_channels)(const struct audio_stream *stream); argument 143 audio_format_t (*get_format)(const struct audio_stream *stream); argument 148 int (*set_format)(struct audio_stream *stream, audio_format_t format); argument 155 int (*standby)(struct audio_stream *stream); argument 158 int (*dump)(const struct audio_stream *stream, int fd); argument 161 audio_devices_t (*get_device)(const struct audio_stream *stream); argument [all …]
|
/hardware/libhardware/modules/audio/ |
D | audio_hw.c | 66 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate() 74 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate() 83 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size() 93 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels() 101 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format() 109 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format() 118 static int out_standby(struct audio_stream *stream) in out_standby() 125 static int out_dump(const struct audio_stream *stream, int fd) in out_dump() 131 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters() 137 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters() [all …]
|
/hardware/libhardware_legacy/audio/ |
D | audio_hw_hal.cpp | 121 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/ |
D | audio_hw_hal.cpp | 142 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/ |
D | audio_hal.c | 292 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate() 299 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate() 304 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size() 312 static uint32_t out_get_channels(const struct audio_stream *stream) in out_get_channels() 318 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format() 329 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format() 334 static int out_standby(struct audio_stream *stream) in out_standby() 347 static int out_dump(const struct audio_stream *stream, int fd) { in out_dump() 361 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters() 399 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters() [all …]
|
/hardware/libhardware/modules/audio_remote_submix/ |
D | audio_hw.cpp | 286 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() 610 static size_t calculate_stream_pipe_size_in_frames(const struct audio_stream *stream, in audio_config_compare() 622 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in audio_config_compare() 625 const_cast<struct audio_stream *>(stream)); in audio_config_compare() 636 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in audio_config_compare() 659 static size_t out_get_buffer_size(const struct audio_stream *stream) in audio_config_compare() 662 const_cast<struct audio_stream *>(stream)); in audio_config_compare() 674 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in audio_config_compare() 677 const_cast<struct audio_stream *>(stream)); in audio_config_compare() [all …]
|