/third_party/alsa-lib/src/pcm/ |
D | pcm_plugin.h | 26 const snd_pcm_channel_area_t *areas, 29 const snd_pcm_channel_area_t *slave_areas, 35 const snd_pcm_channel_area_t *res_areas, /* result areas */ 75 const snd_pcm_channel_area_t *res_areas, /* result areas */ 82 const snd_pcm_channel_area_t *res_areas, /* result areas */ 104 void snd_pcm_linear_convert(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, 105 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, 108 void snd_pcm_linear_getput(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, 109 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, 112 void snd_pcm_alaw_decode(const snd_pcm_channel_area_t *dst_areas, [all …]
|
D | pcm_rate_linear.c | 44 const snd_pcm_channel_area_t *dst_areas, 46 const snd_pcm_channel_area_t *src_areas, 69 const snd_pcm_channel_area_t *dst_areas, in linear_expand() 71 const snd_pcm_channel_area_t *src_areas, in linear_expand() 89 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in linear_expand() 90 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_expand() 140 const snd_pcm_channel_area_t *dst_areas, in linear_expand_s16() 142 const snd_pcm_channel_area_t *src_areas, in linear_expand_s16() 152 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in linear_expand_s16() 153 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_expand_s16() [all …]
|
D | pcm_mulaw.c | 42 typedef void (*mulaw_f)(const snd_pcm_channel_area_t *src_areas, 44 const snd_pcm_channel_area_t *dst_areas, 161 void snd_pcm_mulaw_decode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_mulaw_decode() 163 const snd_pcm_channel_area_t *src_areas, in snd_pcm_mulaw_decode() 178 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_mulaw_decode() 179 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_mulaw_decode() 198 void snd_pcm_mulaw_encode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_mulaw_encode() 200 const snd_pcm_channel_area_t *src_areas, in snd_pcm_mulaw_encode() 216 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_mulaw_encode() 217 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_mulaw_encode() [all …]
|
D | pcm_alaw.c | 42 typedef void (*alaw_f)(const snd_pcm_channel_area_t *dst_areas, 44 const snd_pcm_channel_area_t *src_areas, 144 void snd_pcm_alaw_decode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_alaw_decode() 146 const snd_pcm_channel_area_t *src_areas, in snd_pcm_alaw_decode() 161 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_alaw_decode() 162 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_alaw_decode() 181 void snd_pcm_alaw_encode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_alaw_encode() 183 const snd_pcm_channel_area_t *src_areas, in snd_pcm_alaw_encode() 199 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_alaw_encode() 200 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_alaw_encode() [all …]
|
D | pcm_lfloat.c | 55 void (*func)(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, 56 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, 96 void snd_pcm_lfloat_convert_integer_float(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_… in snd_pcm_lfloat_convert_integer_float() 97 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, in snd_pcm_lfloat_convert_integer_float() 117 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_lfloat_convert_integer_float() 118 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_lfloat_convert_integer_float() 141 void snd_pcm_lfloat_convert_float_integer(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_… in snd_pcm_lfloat_convert_float_integer() 142 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, in snd_pcm_lfloat_convert_float_integer() 162 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_lfloat_convert_float_integer() 163 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_lfloat_convert_float_integer() [all …]
|
D | pcm_plugin.c | 93 const snd_pcm_channel_area_t *res_areas ATTRIBUTE_UNUSED, in snd_pcm_plugin_undo_read() 103 const snd_pcm_channel_area_t *res_areas ATTRIBUTE_UNUSED, in snd_pcm_plugin_undo_write() 113 const snd_pcm_channel_area_t *res_areas ATTRIBUTE_UNUSED, in snd_pcm_plugin_undo_read_generic() 123 const snd_pcm_channel_area_t *res_areas ATTRIBUTE_UNUSED, in snd_pcm_plugin_undo_write_generic() 234 const snd_pcm_channel_area_t *areas, in snd_pcm_plugin_write_areas() 246 const snd_pcm_channel_area_t *slave_areas; in snd_pcm_plugin_write_areas() 291 const snd_pcm_channel_area_t *areas, in snd_pcm_plugin_read_areas() 303 const snd_pcm_channel_area_t *slave_areas; in snd_pcm_plugin_read_areas() 352 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_plugin_writei() 361 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_plugin_writen() [all …]
|
D | pcm_adpcm.c | 72 typedef void (*adpcm_f)(const snd_pcm_channel_area_t *dst_areas, 74 const snd_pcm_channel_area_t *src_areas, 216 void snd_pcm_adpcm_decode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_adpcm_decode() 218 const snd_pcm_channel_area_t *src_areas, in snd_pcm_adpcm_decode() 235 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_adpcm_decode() 236 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_adpcm_decode() 269 void snd_pcm_adpcm_encode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_adpcm_encode() 271 const snd_pcm_channel_area_t *src_areas, in snd_pcm_adpcm_encode() 289 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_adpcm_encode() 290 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_adpcm_encode() [all …]
|
D | pcm_mmap.c | 69 const snd_pcm_channel_area_t *areas, in snd_pcm_mmap_write_areas() 80 const snd_pcm_channel_area_t *pcm_areas; in snd_pcm_mmap_write_areas() 101 const snd_pcm_channel_area_t *areas, in snd_pcm_mmap_read_areas() 112 const snd_pcm_channel_area_t *pcm_areas; in snd_pcm_mmap_read_areas() 151 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_mmap_writei() 176 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_mmap_writen() 201 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_mmap_readi() 226 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_mmap_readn() 303 snd_pcm_channel_area_t *a = &pcm->running_areas[c]; in snd_pcm_mmap() 542 const snd_pcm_channel_area_t *a = snd_pcm_mmap_areas(pcm); in snd_pcm_write_mmap() [all …]
|
D | pcm_linear.c | 147 void snd_pcm_linear_convert(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, in snd_pcm_linear_convert() 148 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, in snd_pcm_linear_convert() 162 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_linear_convert() 163 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_linear_convert() 181 void snd_pcm_linear_getput(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, in snd_pcm_linear_getput() 182 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, in snd_pcm_linear_getput() 198 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_linear_getput() 199 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_linear_getput() 336 const snd_pcm_channel_area_t *areas, in snd_pcm_linear_write_areas() 339 const snd_pcm_channel_area_t *slave_areas, in snd_pcm_linear_write_areas() [all …]
|
D | pcm_iec958.c | 48 const snd_pcm_channel_area_t *dst_areas, 50 const snd_pcm_channel_area_t *src_areas, 147 const snd_pcm_channel_area_t *dst_areas, in snd_pcm_iec958_decode() 149 const snd_pcm_channel_area_t *src_areas, in snd_pcm_iec958_decode() 163 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_iec958_decode() 164 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_iec958_decode() 184 const snd_pcm_channel_area_t *dst_areas, in snd_pcm_iec958_encode() 186 const snd_pcm_channel_area_t *src_areas, in snd_pcm_iec958_encode() 206 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_iec958_encode() 207 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_iec958_encode() [all …]
|
D | pcm_route.c | 76 typedef void (*route_f)(const snd_pcm_channel_area_t *dst_area, 78 const snd_pcm_channel_area_t *src_areas, 112 static void snd_pcm_route_convert1_zero(const snd_pcm_channel_area_t *dst_area, in snd_pcm_route_convert1_zero() 114 const snd_pcm_channel_area_t *src_areas ATTRIBUTE_UNUSED, in snd_pcm_route_convert1_zero() 126 static void snd_pcm_route_convert1_one(const snd_pcm_channel_area_t *dst_area, in snd_pcm_route_convert1_one() 128 const snd_pcm_channel_area_t *src_areas, in snd_pcm_route_convert1_one() 139 const snd_pcm_channel_area_t *src_area = 0; in snd_pcm_route_convert1_one() 176 static void snd_pcm_route_convert1_one_getput(const snd_pcm_channel_area_t *dst_area, in snd_pcm_route_convert1_one_getput() 178 const snd_pcm_channel_area_t *src_areas, in snd_pcm_route_convert1_one_getput() 189 const snd_pcm_channel_area_t *src_area = 0; in snd_pcm_route_convert1_one_getput() [all …]
|
D | pcm_copy.c | 109 const snd_pcm_channel_area_t *areas, in snd_pcm_copy_write_areas() 112 const snd_pcm_channel_area_t *slave_areas, in snd_pcm_copy_write_areas() 127 const snd_pcm_channel_area_t *areas, in snd_pcm_copy_read_areas() 130 const snd_pcm_channel_area_t *slave_areas, in snd_pcm_copy_read_areas()
|
D | pcm_rate.c | 59 snd_pcm_channel_area_t *pareas; /* areas for splitted period (rate pcm) */ 60 snd_pcm_channel_area_t *sareas; /* areas for splitted period (slave pcm) */ 67 snd_pcm_channel_area_t *src_buf; 68 snd_pcm_channel_area_t *dst_buf; 84 static snd_pcm_channel_area_t * 88 snd_pcm_channel_area_t *ap; in rate_alloc_tmp_buf() 111 static void rate_free_tmp_buf(snd_pcm_channel_area_t **ptr) in rate_free_tmp_buf() 113 snd_pcm_channel_area_t *c = *ptr; in rate_free_tmp_buf() 569 static void do_convert(const snd_pcm_channel_area_t *dst_areas, in do_convert() 571 const snd_pcm_channel_area_t *src_areas, in do_convert() [all …]
|
D | pcm_file.c | 88 snd_pcm_channel_area_t *wbuf_areas; 291 const snd_pcm_channel_area_t *areas, in snd_pcm_file_areas_read_infile() 296 snd_pcm_channel_area_t areas_if[pcm->channels]; in snd_pcm_file_areas_read_infile() 459 const snd_pcm_channel_area_t *areas, in snd_pcm_file_add_frames() 610 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_file_writei() 628 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_file_writen() 646 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_file_readi() 670 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_file_readn() 697 const snd_pcm_channel_area_t *areas; in snd_pcm_file_mmap_commit() 714 static int snd_pcm_file_mmap_begin(snd_pcm_t *pcm, const snd_pcm_channel_area_t **areas, in snd_pcm_file_mmap_begin() [all …]
|
D | pcm_softvol.c | 318 const snd_pcm_channel_area_t *dst_areas, in softvol_convert_stereo_vol() 320 const snd_pcm_channel_area_t *src_areas, in softvol_convert_stereo_vol() 325 const snd_pcm_channel_area_t *dst_area, *src_area; in softvol_convert_stereo_vol() 379 const snd_pcm_channel_area_t *dst_areas, in softvol_convert_mono_vol() 381 const snd_pcm_channel_area_t *src_areas, in softvol_convert_mono_vol() 386 const snd_pcm_channel_area_t *dst_area, *src_area; in softvol_convert_mono_vol() 646 const snd_pcm_channel_area_t *areas, in snd_pcm_softvol_write_areas() 649 const snd_pcm_channel_area_t *slave_areas, in snd_pcm_softvol_write_areas() 669 const snd_pcm_channel_area_t *areas, in snd_pcm_softvol_read_areas() 672 const snd_pcm_channel_area_t *slave_areas, in snd_pcm_softvol_read_areas()
|
D | pcm_ioplug.c | 634 const snd_pcm_channel_area_t *areas, in ioplug_priv_transfer_areas() 657 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_ioplug_writei() 669 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_ioplug_writen() 681 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_ioplug_readi() 693 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_ioplug_readn() 701 const snd_pcm_channel_area_t **areas, in snd_pcm_ioplug_mmap_begin_capture() 724 static int snd_pcm_ioplug_mmap_begin(snd_pcm_t *pcm, const snd_pcm_channel_area_t **areas, in snd_pcm_ioplug_mmap_begin() 739 const snd_pcm_channel_area_t *areas; in snd_pcm_ioplug_mmap_commit() 1224 const snd_pcm_channel_area_t *snd_pcm_ioplug_mmap_areas(snd_pcm_ioplug_t *ioplug) in snd_pcm_ioplug_mmap_areas()
|
D | pcm_local.h | 187 …int (*mmap_begin)(snd_pcm_t *pcm, const snd_pcm_channel_area_t **areas, snd_pcm_uframes_t *offset,… 241 snd_pcm_channel_area_t *running_areas; 242 snd_pcm_channel_area_t *stopped_areas; 372 void snd_pcm_areas_from_buf(snd_pcm_t *pcm, snd_pcm_channel_area_t *areas, void *buf); 373 void snd_pcm_areas_from_bufs(snd_pcm_t *pcm, snd_pcm_channel_area_t *areas, void **bufs); 397 const snd_pcm_channel_area_t *areas, 401 snd_pcm_sframes_t snd_pcm_read_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_t *areas, 404 snd_pcm_sframes_t snd_pcm_write_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_t *areas, 423 int __snd_pcm_mmap_begin_generic(snd_pcm_t *pcm, const snd_pcm_channel_area_t **areas, 425 int __snd_pcm_mmap_begin(snd_pcm_t *pcm, const snd_pcm_channel_area_t **areas, [all …]
|
D | pcm_extplug.c | 338 const snd_pcm_channel_area_t *areas, in snd_pcm_extplug_write_areas() 341 const snd_pcm_channel_area_t *slave_areas, in snd_pcm_extplug_write_areas() 360 const snd_pcm_channel_area_t *areas, in snd_pcm_extplug_read_areas() 363 const snd_pcm_channel_area_t *slave_areas, in snd_pcm_extplug_read_areas()
|
/third_party/alsa-lib/include/ |
D | pcm_rate.h | 89 const snd_pcm_channel_area_t *dst_areas, 91 const snd_pcm_channel_area_t *src_areas, 153 const snd_pcm_channel_area_t *dst_areas, 155 const snd_pcm_channel_area_t *src_areas, 171 const snd_pcm_channel_area_t *dst_areas, 173 const snd_pcm_channel_area_t *src_areas,
|
D | pcm_extplug.h | 134 const snd_pcm_channel_area_t *dst_areas, 136 const snd_pcm_channel_area_t *src_areas,
|
D | pcm.h | 489 } snd_pcm_channel_area_t; typedef 1114 const snd_pcm_channel_area_t **areas, 1156 int snd_pcm_area_silence(const snd_pcm_channel_area_t *dst_channel, snd_pcm_uframes_t dst_offset, 1158 int snd_pcm_areas_silence(const snd_pcm_channel_area_t *dst_channels, snd_pcm_uframes_t dst_offset, 1160 int snd_pcm_area_copy(const snd_pcm_channel_area_t *dst_channel, snd_pcm_uframes_t dst_offset, 1161 const snd_pcm_channel_area_t *src_channel, snd_pcm_uframes_t src_offset, 1163 int snd_pcm_areas_copy(const snd_pcm_channel_area_t *dst_channels, snd_pcm_uframes_t dst_offset, 1164 const snd_pcm_channel_area_t *src_channels, snd_pcm_uframes_t src_offset, 1166 int snd_pcm_areas_copy_wrap(const snd_pcm_channel_area_t *dst_channels, 1169 const snd_pcm_channel_area_t *src_channels, [all …]
|
D | pcm_ioplug.h | 147 const snd_pcm_channel_area_t *areas, 225 const snd_pcm_channel_area_t *snd_pcm_ioplug_mmap_areas(snd_pcm_ioplug_t *ioplug);
|
/third_party/alsa-lib/test/ |
D | pcm.c | 30 static void generate_sine(const snd_pcm_channel_area_t *areas, in generate_sine() 250 snd_pcm_channel_area_t *areas) in write_loop() 297 snd_pcm_channel_area_t *areas) in write_and_poll_loop() 386 snd_pcm_channel_area_t *areas; 395 snd_pcm_channel_area_t *areas = data->areas; in async_callback() 417 snd_pcm_channel_area_t *areas) in async_loop() 466 const snd_pcm_channel_area_t *my_areas; in async_direct_callback() 538 snd_pcm_channel_area_t *areas ATTRIBUTE_UNUSED) in async_direct_loop() 542 const snd_pcm_channel_area_t *my_areas; in async_direct_loop() 596 snd_pcm_channel_area_t *areas ATTRIBUTE_UNUSED) in direct_loop() [all …]
|
/third_party/alsa-utils/axfer/ |
D | xfer-libasound-timer-mmap.c | 74 const snd_pcm_channel_area_t *areas; in timer_mmap_pre_process() 82 const snd_pcm_channel_area_t *area = areas + i; in timer_mmap_pre_process() 95 const snd_pcm_channel_area_t *areas, in get_buffer() 128 const snd_pcm_channel_area_t *areas; in timer_mmap_process_frames() 339 const snd_pcm_channel_area_t *areas; in fill_buffer_with_zero_samples()
|
D | xfer-libasound-irq-mmap.c | 49 const snd_pcm_channel_area_t *areas; in irq_mmap_pre_process() 57 const snd_pcm_channel_area_t *area = areas + i; in irq_mmap_pre_process() 76 const snd_pcm_channel_area_t *areas; in irq_mmap_process_frames()
|