/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, 47 const struct cras_audio_format *fmt, 52 const struct cras_audio_format *cras_fmt_conv_in_format( 56 const struct cras_audio_format *cras_fmt_conv_out_format( 106 const struct cras_audio_format *from, 107 const struct cras_audio_format *to,
|
D | cras_apm_list.h | 12 struct cras_audio_format; 47 const struct cras_audio_format *fmt); 110 struct cras_audio_format *cras_apm_list_get_format(struct cras_apm *apm); 146 const struct cras_audio_format *fmt) in cras_apm_list_add() 186 static inline struct cras_audio_format *cras_apm_list_get_format( in cras_apm_list_get_format()
|
D | cras_alsa_helpers.h | 17 struct cras_audio_format; 28 struct cras_audio_format *fmt); 39 struct cras_audio_format *fmt); 134 int cras_alsa_set_hwparams(snd_pcm_t *handle, struct cras_audio_format *format,
|
D | cras_audio_area.h | 72 const struct cras_audio_format *dst_fmt, 91 const struct cras_audio_format *fmt); 97 const struct cras_audio_format *fmt,
|
D | cras_rstream.h | 84 struct cras_audio_format format; 118 const struct cras_audio_format *format; 185 const struct cras_audio_format *fmt) in cras_rstream_set_format() 192 struct cras_audio_format *fmt) in cras_rstream_get_format() 276 struct cras_audio_format *cras_rstream_post_processing_format(
|
D | cras_iodev.h | 26 struct cras_audio_format; 35 const struct cras_audio_format *fmt, 226 struct cras_audio_format *format; 227 struct cras_audio_format *ext_format; 311 const struct cras_audio_format *fmt); 525 const struct cras_audio_format *fmt);
|
D | cras_audio_area.c | 27 const struct cras_audio_format *dst_fmt, in cras_audio_area_copy() 68 const struct cras_audio_format *fmt) in cras_audio_area_config_channels() 95 const struct cras_audio_format *fmt, in cras_audio_area_config_buf_pointers()
|
D | cras_fmt_conv.c | 41 struct cras_audio_format in_fmt; 42 struct cras_audio_format out_fmt; 388 static int is_channel_layout_equal(const struct cras_audio_format *a, in is_channel_layout_equal() 389 const struct cras_audio_format *b) in is_channel_layout_equal() 492 struct cras_fmt_conv *cras_fmt_conv_create(const struct cras_audio_format *in, in cras_fmt_conv_create() 493 const struct cras_audio_format *out, in cras_fmt_conv_create() 720 const struct cras_audio_format *fmt, in cras_channel_remix_convert() 744 const struct cras_audio_format *cras_fmt_conv_in_format( in cras_fmt_conv_in_format() 750 const struct cras_audio_format *cras_fmt_conv_out_format( in cras_fmt_conv_out_format() 981 const struct cras_audio_format *from, in config_format_converter() [all …]
|
D | dev_stream.c | 69 const struct cras_audio_format *dev_fmt, in dev_stream_create() 74 struct cras_audio_format *stream_fmt = &stream->format; in dev_stream_create() 77 const struct cras_audio_format *ofmt; in dev_stream_create() 189 const struct cras_audio_format *fmt, in dev_stream_mix() 256 const struct cras_audio_format *source_format; in capture_with_fmt_conv() 257 const struct cras_audio_format *dst_format; in capture_with_fmt_conv() 310 const struct cras_audio_format *fmt; in capture_copy_converted_to_stream()
|
D | cras_alsa_helpers.c | 73 struct cras_audio_format *fmt) in cras_chmap_caps_match() 156 struct cras_audio_format *fmt) in cras_chmap_caps_conv_matrix() 161 struct cras_audio_format *conv_fmt; in cras_chmap_caps_conv_matrix() 202 struct cras_audio_format *fmt) in cras_chmap_caps_best() 306 struct cras_audio_format *fmt) in cras_alsa_set_channel_map() 347 struct cras_audio_format *fmt) in cras_alsa_get_channel_map() 459 int cras_alsa_set_hwparams(snd_pcm_t *handle, struct cras_audio_format *format, in cras_alsa_set_hwparams()
|
D | dev_stream.h | 46 const struct cras_audio_format *dev_fmt, 81 const struct cras_audio_format *fmt,
|
/external/adhd/cras/src/common/ |
D | cras_audio_format.h | 72 struct cras_audio_format { struct 99 const struct cras_audio_format* src) in pack_cras_audio_format() 108 static inline void unpack_cras_audio_format(struct cras_audio_format* dest, in unpack_cras_audio_format() 121 static inline size_t cras_get_format_bytes(const struct cras_audio_format *fmt) in cras_get_format_bytes() 130 struct cras_audio_format *format) in cras_audio_format_set_default_channel_layout() 138 struct cras_audio_format *cras_audio_format_create(snd_pcm_format_t format, 143 void cras_audio_format_destroy(struct cras_audio_format *fmt); 150 int cras_audio_format_set_channel_layout(struct cras_audio_format *format, 163 float **cras_channel_conv_matrix_create(const struct cras_audio_format *in, 164 const struct cras_audio_format *out);
|
D | cras_audio_format.c | 34 struct cras_audio_format *cras_audio_format_create(snd_pcm_format_t format, in cras_audio_format_create() 38 struct cras_audio_format *fmt; in cras_audio_format_create() 41 fmt = (struct cras_audio_format *)calloc(1, sizeof(*fmt)); in cras_audio_format_create() 58 int cras_audio_format_set_channel_layout(struct cras_audio_format *format, in cras_audio_format_set_channel_layout() 77 void cras_audio_format_destroy(struct cras_audio_format *fmt) in cras_audio_format_destroy() 110 float **cras_channel_conv_matrix_create(const struct cras_audio_format *in, in cras_channel_conv_matrix_create() 111 const struct cras_audio_format *out) in cras_channel_conv_matrix_create()
|
/external/adhd/cras/src/tests/ |
D | fmt_conv_unittest.cc | 48 struct cras_audio_format in_fmt; in TEST() 49 struct cras_audio_format out_fmt; in TEST() 101 struct cras_audio_format in_fmt; in TEST() 102 struct cras_audio_format out_fmt; in TEST() 115 struct cras_audio_format in_fmt; in TEST() 116 struct cras_audio_format out_fmt; in TEST() 165 struct cras_audio_format in_fmt; in TEST() 166 struct cras_audio_format out_fmt; in TEST() 216 struct cras_audio_format in_fmt; in TEST() 217 struct cras_audio_format out_fmt; in TEST() [all …]
|
D | timing_unittest.cc | 48 cras_audio_format* dev_format, in SingleInputDevNextWake() 79 cras_audio_format format; in TEST_F() 109 cras_audio_format format; in TEST_F() 140 cras_audio_format format; in TEST_F() 165 cras_audio_format dev_format; in TEST_F() 167 cras_audio_format stream_format; in TEST_F() 196 cras_audio_format format; in TEST_F() 231 cras_audio_format s1_format, s2_format; in TEST_F() 266 cras_audio_format s1_format, s2_format; in TEST_F() 305 cras_audio_format fmt; in TEST_F() [all …]
|
D | dev_io_stubs.h | 62 const cras_audio_format* format, 69 const cras_audio_format* format); 75 cras_audio_format* format, 79 cras_audio_format* format, 82 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 | iodev_unittest.cc | 109 static struct cras_audio_format audio_fmt; 283 struct cras_audio_format fmt; in TEST_F() 301 struct cras_audio_format fmt; in TEST_F() 319 struct cras_audio_format fmt; in TEST_F() 337 struct cras_audio_format fmt; in TEST_F() 351 struct cras_audio_format fmt; in TEST_F() 369 struct cras_audio_format fmt; in TEST_F() 387 struct cras_audio_format fmt; in TEST_F() 401 struct cras_audio_format fmt; in TEST_F() 415 struct cras_audio_format fmt; in TEST_F() [all …]
|
D | dev_stream_unittest.cc | 32 static const struct cras_audio_format fmt_s16le_44_1 = { 37 static const struct cras_audio_format fmt_s16le_48 = { 42 static const struct cras_audio_format fmt_s16le_48_mono = { 47 static const struct cras_audio_format fmt_s16le_8 = { 86 static const struct cras_audio_format *config_format_converter_from_fmt; 89 static struct cras_audio_format in_fmt; 90 static struct cras_audio_format out_fmt; 105 static struct cras_audio_format *cras_rstream_post_processing_format_val; 332 struct cras_audio_format processed_fmt = fmt_s16le_48; in TEST_F() 586 struct cras_audio_format fmt; in TEST_F() [all …]
|
D | dev_io_stubs.cc | 37 const cras_audio_format* format, in create_rstream() 69 const cras_audio_format* format) { in create_stream() 98 cras_audio_format* format, in create_open_iodev() 116 cras_audio_format* format, in create_device() 136 void fill_audio_format(cras_audio_format* format, unsigned int rate) { in fill_audio_format()
|
D | rstream_unittest.cc | 54 static bool format_equal(cras_audio_format *fmt1, cras_audio_format *fmt2) { in format_equal() 74 struct cras_audio_format fmt_; 124 struct cras_audio_format fmt_ret; in TEST_F() 160 struct cras_audio_format fmt_ret; in TEST_F() 358 const struct cras_audio_format *fmt) { in cras_audio_area_config_channels() 415 struct cras_audio_format *cras_apm_list_get_format(struct cras_apm *apm) in cras_apm_list_get_format()
|
D | apm_list_unittest.cc | 46 struct cras_audio_format fmt; in TEST() 73 struct cras_audio_format fmt; in TEST() 125 struct cras_audio_format fmt; in TEST() 203 const struct cras_audio_format *fmt) in cras_audio_area_config_channels() 207 const struct cras_audio_format *fmt, in cras_audio_area_config_buf_pointers()
|
D | cras_client_unittest.cc | 99 void set_audio_format(struct cras_audio_format* format, in set_audio_format() 181 struct cras_audio_format server_format; in StreamConnected() 235 struct cras_audio_format server_format; in StreamConnectedFail() 376 struct cras_audio_format *cras_audio_format_create(snd_pcm_format_t format, in cras_audio_format_create() 380 return reinterpret_cast<struct cras_audio_format*>(0x123); in cras_audio_format_create() 383 void cras_audio_format_destroy(struct cras_audio_format *fmt) in cras_audio_format_destroy()
|
D | dev_io_unittest.cc | 47 cras_audio_format format; in TEST_F() 106 struct cras_audio_format *cras_rstream_post_processing_format( in cras_rstream_post_processing_format()
|
D | audio_format_unittest.cc | 33 struct cras_audio_format *in_fmt; 34 struct cras_audio_format *out_fmt;
|