Searched refs:audio_stream (Results 1 – 7 of 7) sorted by relevance
/hardware/libhardware/include/hardware/ |
D | audio.h | 115 struct audio_stream { struct 120 uint32_t (*get_sample_rate)(const struct audio_stream *stream); argument 125 int (*set_sample_rate)(struct audio_stream *stream, uint32_t rate); argument 131 size_t (*get_buffer_size)(const struct audio_stream *stream); argument 137 audio_channel_mask_t (*get_channels)(const struct audio_stream *stream); argument 142 audio_format_t (*get_format)(const struct audio_stream *stream); argument 147 int (*set_format)(struct audio_stream *stream, audio_format_t format); argument 154 int (*standby)(struct audio_stream *stream); argument 157 int (*dump)(const struct audio_stream *stream, int fd); argument 160 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() 608 static size_t calculate_stream_pipe_size_in_frames(const struct audio_stream *stream, in audio_config_compare() 620 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in audio_config_compare() 623 const_cast<struct audio_stream *>(stream)); in audio_config_compare() 634 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in audio_config_compare() 657 static size_t out_get_buffer_size(const struct audio_stream *stream) in audio_config_compare() 660 const_cast<struct audio_stream *>(stream)); in audio_config_compare() 672 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in audio_config_compare() 675 const_cast<struct audio_stream *>(stream)); in audio_config_compare() [all …]
|
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 2745 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate() 2752 static int out_set_sample_rate(struct audio_stream *stream __unused, uint32_t rate __unused) in out_set_sample_rate() 2757 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size() 2768 static uint32_t out_get_channels(const struct audio_stream *stream) in out_get_channels() 2775 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format() 2782 static int out_set_format(struct audio_stream *stream __unused, audio_format_t format __unused) in out_set_format() 2788 static int out_standby_l(struct audio_stream *stream) in out_standby_l() 2846 static int out_standby(struct audio_stream *stream) in out_standby() 2860 static int out_on_error(struct audio_stream *stream) in out_on_error() 2882 static int out_dump(const struct audio_stream *stream, int fd) in out_dump() [all …]
|