/external/adhd/cras/src/common/ |
D | cras_audio_format.h | 73 struct cras_audio_format { struct 100 const struct cras_audio_format *src) in pack_cras_audio_format() 109 static inline struct cras_audio_format 112 struct cras_audio_format dest; in unpack_cras_audio_format() 124 static inline size_t cras_get_format_bytes(const struct cras_audio_format *fmt) in cras_get_format_bytes() 133 cras_audio_format_set_default_channel_layout(struct cras_audio_format *format) in cras_audio_format_set_default_channel_layout() 141 struct cras_audio_format *cras_audio_format_create(snd_pcm_format_t format, 146 void cras_audio_format_destroy(struct cras_audio_format *fmt); 149 bool cras_audio_format_valid(const struct cras_audio_format *fmt); 156 int cras_audio_format_set_channel_layout(struct cras_audio_format *format, [all …]
|
D | cras_audio_format.c | 32 struct cras_audio_format *cras_audio_format_create(snd_pcm_format_t format, in cras_audio_format_create() 36 struct cras_audio_format *fmt; in cras_audio_format_create() 39 fmt = (struct cras_audio_format *)calloc(1, sizeof(*fmt)); in cras_audio_format_create() 56 int cras_audio_format_set_channel_layout(struct cras_audio_format *format, in cras_audio_format_set_channel_layout() 75 bool cras_audio_format_valid(const struct cras_audio_format *fmt) in cras_audio_format_valid() 88 void cras_audio_format_destroy(struct cras_audio_format *fmt) in cras_audio_format_destroy() 121 float **cras_channel_conv_matrix_create(const struct cras_audio_format *in, in cras_channel_conv_matrix_create() 122 const struct cras_audio_format *out) in cras_channel_conv_matrix_create()
|
/external/adhd/cras/src/server/ |
D | cras_fmt_conv.h | 18 struct cras_audio_format; 22 struct cras_fmt_conv *cras_fmt_conv_create(const struct cras_audio_format *in, 23 const struct cras_audio_format *out, 46 const struct cras_audio_format *fmt, 50 const struct cras_audio_format * 54 const struct cras_audio_format * 101 const struct cras_audio_format *from, 102 const struct cras_audio_format *to,
|
D | cras_apm_list.h | 12 struct cras_audio_format; 68 const struct cras_audio_format *fmt, 144 struct cras_audio_format *cras_apm_list_get_format(struct cras_apm *apm); 182 const struct cras_audio_format *fmt, bool is_aec_use_case) in cras_apm_list_add_apm() 230 static inline struct cras_audio_format *
|
D | cras_alsa_helpers.h | 17 struct cras_audio_format; 26 int cras_alsa_set_channel_map(snd_pcm_t *handle, struct cras_audio_format *fmt); 36 int cras_alsa_get_channel_map(snd_pcm_t *handle, struct cras_audio_format *fmt); 131 int cras_alsa_set_hwparams(snd_pcm_t *handle, struct cras_audio_format *format,
|
D | cras_audio_area.h | 71 const struct cras_audio_format *dst_fmt, 90 const struct cras_audio_format *fmt); 96 const struct cras_audio_format *fmt,
|
D | cras_rstream_config.h | 46 const struct cras_audio_format *format; 69 uint32_t effects, const struct cras_audio_format *format, 91 const struct cras_audio_format *remote_format);
|
D | cras_rstream.h | 81 struct cras_audio_format format; 161 const struct cras_audio_format *fmt) in cras_rstream_set_format() 168 struct cras_audio_format *fmt) in cras_rstream_get_format() 242 struct cras_audio_format *
|
D | cras_fmt_conv.c | 43 struct cras_audio_format in_fmt; 44 struct cras_audio_format out_fmt; 51 static int is_channel_layout_equal(const struct cras_audio_format *a, in is_channel_layout_equal() 52 const struct cras_audio_format *b) in is_channel_layout_equal() 166 static int is_supported_format(const struct cras_audio_format *fmt) in is_supported_format() 317 struct cras_fmt_conv *cras_fmt_conv_create(const struct cras_audio_format *in, in cras_fmt_conv_create() 318 const struct cras_audio_format *out, in cras_fmt_conv_create() 576 const struct cras_audio_format *fmt, in cras_channel_remix_convert() 605 const struct cras_audio_format * 611 const struct cras_audio_format * [all …]
|
D | cras_audio_area.c | 27 const struct cras_audio_format *dst_fmt, in cras_audio_area_copy() 67 const struct cras_audio_format *fmt) in cras_audio_area_config_channels() 94 const struct cras_audio_format *fmt, in cras_audio_area_config_buf_pointers()
|
D | cras_iodev.h | 29 struct cras_audio_format; 45 const struct cras_audio_format *fmt, 280 struct cras_audio_format *format; 379 const struct cras_audio_format *fmt); 564 const struct cras_audio_format *fmt);
|
D | dev_stream.c | 65 const struct cras_audio_format *dev_fmt, in dev_stream_create() 70 struct cras_audio_format *stream_fmt = &stream->format; in dev_stream_create() 73 const struct cras_audio_format *ofmt; in dev_stream_create() 178 const struct cras_audio_format *fmt, uint8_t *dst, in dev_stream_mix() 241 const struct cras_audio_format *source_format; in capture_with_fmt_conv() 242 const struct cras_audio_format *dst_format; in capture_with_fmt_conv() 293 const struct cras_audio_format *fmt; in capture_copy_converted_to_stream()
|
D | cras_alsa_helpers.c | 56 struct cras_audio_format *fmt) in cras_chmap_caps_match() 139 struct cras_audio_format *fmt) in cras_chmap_caps_conv_matrix() 144 struct cras_audio_format *conv_fmt; in cras_chmap_caps_conv_matrix() 184 struct cras_audio_format *fmt) in cras_chmap_caps_best() 284 int cras_alsa_set_channel_map(snd_pcm_t *handle, struct cras_audio_format *fmt) in cras_alsa_set_channel_map() 324 int cras_alsa_get_channel_map(snd_pcm_t *handle, struct cras_audio_format *fmt) in cras_alsa_get_channel_map() 447 int cras_alsa_set_hwparams(snd_pcm_t *handle, struct cras_audio_format *format, in cras_alsa_set_hwparams()
|
D | cras_rstream_config.c | 27 uint32_t effects, const struct cras_audio_format *format, in cras_rstream_config_init() 56 const struct cras_audio_format *remote_fmt) in cras_rstream_config_init_with_message()
|
/external/adhd/cras/src/tests/ |
D | fmt_conv_unittest.cc | 55 struct cras_audio_format in_fmt; in TEST() 56 struct cras_audio_format out_fmt; in TEST() 106 struct cras_audio_format in_fmt; in TEST() 107 struct cras_audio_format out_fmt; in TEST() 120 struct cras_audio_format in_fmt; in TEST() 121 struct cras_audio_format out_fmt; in TEST() 166 struct cras_audio_format in_fmt; in TEST() 167 struct cras_audio_format out_fmt; in TEST() 214 struct cras_audio_format in_fmt; in TEST() 215 struct cras_audio_format out_fmt; in TEST() [all …]
|
D | timing_unittest.cc | 48 cras_audio_format* dev_format, in SingleInputDevNextWake() 77 cras_audio_format* dev_format, in SingleOutputDevNextWake() 117 cras_audio_format format; in TEST_F() 181 cras_audio_format format; in TEST_F() 204 cras_audio_format format; in TEST_F() 234 cras_audio_format format; in TEST_F() 261 cras_audio_format format; in TEST_F() 292 cras_audio_format format; in TEST_F() 318 cras_audio_format format; in TEST_F() 348 cras_audio_format format; in TEST_F() [all …]
|
D | dev_io_stubs.h | 61 const cras_audio_format* format, 68 const cras_audio_format* format); 74 cras_audio_format* format, 78 cras_audio_format* format, 81 void fill_audio_format(cras_audio_format* format, unsigned int rate);
|
D | audio_area_unittest.cc | 31 struct cras_audio_format fmt; in TEST() 60 struct cras_audio_format fmt; in TEST() 98 struct cras_audio_format fmt; in TEST() 131 struct cras_audio_format fmt; in TEST() 168 struct cras_audio_format dst_fmt; in TEST() 169 struct cras_audio_format src_fmt; in TEST() 204 struct cras_audio_format fmt; in TEST() 236 struct cras_audio_format fmt; in TEST() 271 struct cras_audio_format dst_fmt; in TEST() 272 struct cras_audio_format src_fmt; in TEST()
|
D | apm_list_unittest.cc | 82 static void init_channel_layout(struct cras_audio_format* fmt) { in init_channel_layout() 89 struct cras_audio_format fmt; in TEST() 90 struct cras_audio_format* val; in TEST() 141 struct cras_audio_format fmt; in TEST() 188 struct cras_audio_format fmt; in TEST() 224 struct cras_audio_format fmt; in TEST() 282 struct cras_audio_format fmt; in TEST() 334 struct cras_audio_format fmt; in TEST() 384 const struct cras_audio_format* fmt) {} in cras_audio_area_config_channels() 386 const struct cras_audio_format* fmt, in cras_audio_area_config_buf_pointers()
|
D | iodev_unittest.cc | 110 static struct cras_audio_format audio_fmt; 287 struct cras_audio_format fmt; in TEST_F() 305 struct cras_audio_format fmt; in TEST_F() 323 struct cras_audio_format fmt; in TEST_F() 341 struct cras_audio_format fmt; in TEST_F() 355 struct cras_audio_format fmt; in TEST_F() 373 struct cras_audio_format fmt; in TEST_F() 391 struct cras_audio_format fmt; in TEST_F() 405 struct cras_audio_format fmt; in TEST_F() 419 struct cras_audio_format fmt; in TEST_F() [all …]
|
D | dev_io_stubs.cc | 52 const cras_audio_format* format, in create_rstream() 82 const cras_audio_format* format) { in create_stream() 114 cras_audio_format* format, in create_open_iodev() 134 cras_audio_format* format, in create_device() 161 void fill_audio_format(cras_audio_format* format, unsigned int rate) { in fill_audio_format()
|
D | rstream_unittest.cc | 59 static bool format_equal(cras_audio_format* fmt1, cras_audio_format* fmt2) { in format_equal() 79 struct cras_audio_format fmt_; 129 struct cras_audio_format fmt_ret; in TEST_F() 166 struct cras_audio_format fmt_ret; in TEST_F() 364 const struct cras_audio_format* fmt) {} in cras_audio_area_config_channels() 433 struct cras_audio_format* cras_apm_list_get_format(struct cras_apm* apm) { in cras_apm_list_get_format()
|
D | dev_stream_unittest.cc | 34 static const struct cras_audio_format fmt_s16le_44_1 = { 39 static const struct cras_audio_format fmt_s16le_48 = { 44 static const struct cras_audio_format fmt_s16le_48_mono = { 49 static const struct cras_audio_format fmt_s16le_8 = { 88 static const struct cras_audio_format* config_format_converter_from_fmt; 91 static struct cras_audio_format in_fmt; 92 static struct cras_audio_format out_fmt; 107 static struct cras_audio_format* cras_rstream_post_processing_format_val; 369 struct cras_audio_format processed_fmt = fmt_s16le_48; in TEST_F() 618 struct cras_audio_format fmt; in TEST_F() [all …]
|
D | cras_client_unittest.cc | 98 void set_audio_format(struct cras_audio_format* format, in set_audio_format() 180 struct cras_audio_format server_format; in StreamConnected() 220 struct cras_audio_format server_format; in StreamConnectedFail() 425 struct cras_audio_format* cras_audio_format_create(snd_pcm_format_t format, in cras_audio_format_create() 428 return reinterpret_cast<struct cras_audio_format*>(0x123); in cras_audio_format_create() 431 void cras_audio_format_destroy(struct cras_audio_format* fmt) {} in cras_audio_format_destroy()
|
D | empty_iodev_unittest.cc | 15 static struct cras_audio_format fake_format; 66 const struct cras_audio_format* fmt, in cras_audio_area_config_buf_pointers()
|