Home
last modified time | relevance | path

Searched refs:snd_pcm_channel_area_t (Results 1 - 25 of 39) sorted by relevance

12

/third_party/alsa-lib/src/pcm/
H A Dpcm_plugin.h26 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 */
79 const snd_pcm_channel_area_t *res_areas, /* result areas */
86 const snd_pcm_channel_area_t *res_areas, /* result areas */
108 void snd_pcm_linear_convert(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_linear_getput(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset,
113 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset,
116 void snd_pcm_alaw_decode(const snd_pcm_channel_area_t *dst_area
[all...]
H A Dpcm_rate_linear.c43 const snd_pcm_channel_area_t *dst_areas,
45 const snd_pcm_channel_area_t *src_areas,
68 const snd_pcm_channel_area_t *dst_areas, in linear_expand()
70 const snd_pcm_channel_area_t *src_areas, in linear_expand()
88 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in linear_expand()
89 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_expand()
139 const snd_pcm_channel_area_t *dst_areas, in linear_expand_s16()
141 const snd_pcm_channel_area_t *src_areas, in linear_expand_s16()
151 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in linear_expand_s16()
152 const snd_pcm_channel_area_t *dst_are in linear_expand_s16()
[all...]
H A Dpcm_lfloat.c54 void (*func)(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset,
55 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset,
95 void snd_pcm_lfloat_convert_integer_float(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, in snd_pcm_lfloat_convert_integer_float()
96 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, in snd_pcm_lfloat_convert_integer_float()
116 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_lfloat_convert_integer_float()
117 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_lfloat_convert_integer_float()
140 void snd_pcm_lfloat_convert_float_integer(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, in snd_pcm_lfloat_convert_float_integer()
141 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, in snd_pcm_lfloat_convert_float_integer()
161 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_lfloat_convert_float_integer()
162 const snd_pcm_channel_area_t *dst_are in snd_pcm_lfloat_convert_float_integer()
[all...]
H A Dpcm_mulaw.c41 typedef void (*mulaw_f)(const snd_pcm_channel_area_t *src_areas,
43 const snd_pcm_channel_area_t *dst_areas,
160 void snd_pcm_mulaw_decode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_mulaw_decode()
162 const snd_pcm_channel_area_t *src_areas, in snd_pcm_mulaw_decode()
177 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_mulaw_decode()
178 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_mulaw_decode()
197 void snd_pcm_mulaw_encode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_mulaw_encode()
199 const snd_pcm_channel_area_t *src_areas, in snd_pcm_mulaw_encode()
215 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_mulaw_encode()
216 const snd_pcm_channel_area_t *dst_are in snd_pcm_mulaw_encode()
[all...]
H A Dpcm_adpcm.c71 typedef void (*adpcm_f)(const snd_pcm_channel_area_t *dst_areas,
73 const snd_pcm_channel_area_t *src_areas,
215 void snd_pcm_adpcm_decode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_adpcm_decode()
217 const snd_pcm_channel_area_t *src_areas, in snd_pcm_adpcm_decode()
234 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_adpcm_decode()
235 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_adpcm_decode()
268 void snd_pcm_adpcm_encode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_adpcm_encode()
270 const snd_pcm_channel_area_t *src_areas, in snd_pcm_adpcm_encode()
288 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_adpcm_encode()
289 const snd_pcm_channel_area_t *dst_are in snd_pcm_adpcm_encode()
[all...]
H A Dpcm_alaw.c42 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_are in snd_pcm_alaw_encode()
[all...]
H A Dpcm_plugin.c93 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 area in snd_pcm_plugin_writen()
[all...]
H A Dpcm_mmap.c70 const snd_pcm_channel_area_t *areas, in snd_pcm_mmap_write_areas()
81 const snd_pcm_channel_area_t *pcm_areas; in snd_pcm_mmap_write_areas()
102 const snd_pcm_channel_area_t *areas, in snd_pcm_mmap_read_areas()
113 const snd_pcm_channel_area_t *pcm_areas; in snd_pcm_mmap_read_areas()
152 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_mmap_writei()
177 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_mmap_writen()
202 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_mmap_readi()
227 snd_pcm_channel_area_t areas[pcm->channels]; in snd_pcm_mmap_readn()
304 snd_pcm_channel_area_t *a = &pcm->running_areas[c]; in snd_pcm_mmap()
543 const snd_pcm_channel_area_t * in snd_pcm_write_mmap()
[all...]
H A Dpcm_linear.c146 void snd_pcm_linear_convert(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, in snd_pcm_linear_convert()
147 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, in snd_pcm_linear_convert()
161 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_linear_convert()
162 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_linear_convert()
180 void snd_pcm_linear_getput(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, in snd_pcm_linear_getput()
181 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, in snd_pcm_linear_getput()
197 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_linear_getput()
198 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_linear_getput()
335 const snd_pcm_channel_area_t *areas, in snd_pcm_linear_write_areas()
338 const snd_pcm_channel_area_t *slave_area in snd_pcm_linear_write_areas()
[all...]
H A Dpcm_iec958.c47 const snd_pcm_channel_area_t *dst_areas,
49 const snd_pcm_channel_area_t *src_areas,
146 const snd_pcm_channel_area_t *dst_areas, in snd_pcm_iec958_decode()
148 const snd_pcm_channel_area_t *src_areas, in snd_pcm_iec958_decode()
162 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_iec958_decode()
163 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_iec958_decode()
183 const snd_pcm_channel_area_t *dst_areas, in snd_pcm_iec958_encode()
185 const snd_pcm_channel_area_t *src_areas, in snd_pcm_iec958_encode()
205 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_iec958_encode()
206 const snd_pcm_channel_area_t *dst_are in snd_pcm_iec958_encode()
[all...]
H A Dpcm_route.c75 typedef void (*route_f)(const snd_pcm_channel_area_t *dst_area,
77 const snd_pcm_channel_area_t *src_areas,
111 static void snd_pcm_route_convert1_zero(const snd_pcm_channel_area_t *dst_area, in snd_pcm_route_convert1_zero()
113 const snd_pcm_channel_area_t *src_areas ATTRIBUTE_UNUSED, in snd_pcm_route_convert1_zero()
125 static void snd_pcm_route_convert1_one(const snd_pcm_channel_area_t *dst_area, in snd_pcm_route_convert1_one()
127 const snd_pcm_channel_area_t *src_areas, in snd_pcm_route_convert1_one()
138 const snd_pcm_channel_area_t *src_area = 0; in snd_pcm_route_convert1_one()
175 static void snd_pcm_route_convert1_one_getput(const snd_pcm_channel_area_t *dst_area, in snd_pcm_route_convert1_one_getput()
177 const snd_pcm_channel_area_t *src_areas, in snd_pcm_route_convert1_one_getput()
188 const snd_pcm_channel_area_t *src_are in snd_pcm_route_convert1_one_getput()
[all...]
H A Dpcm_copy.c109 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()
H A Dpcm_rate.c58 snd_pcm_channel_area_t *pareas; /* areas for splitted period (rate pcm) */
59 snd_pcm_channel_area_t *sareas; /* areas for splitted period (slave pcm) */
66 snd_pcm_channel_area_t *src_buf;
67 snd_pcm_channel_area_t *dst_buf;
83 static snd_pcm_channel_area_t *
87 snd_pcm_channel_area_t *ap; in rate_alloc_tmp_buf()
110 static void rate_free_tmp_buf(snd_pcm_channel_area_t **ptr) in rate_free_tmp_buf()
112 snd_pcm_channel_area_t *c = *ptr; in rate_free_tmp_buf()
568 static void do_convert(const snd_pcm_channel_area_t *dst_areas, in do_convert()
570 const snd_pcm_channel_area_t *src_area in do_convert()
[all...]
H A Dpcm_file.c88 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 **area
[all...]
H A Dpcm_softvol.c317 const snd_pcm_channel_area_t *dst_areas, in softvol_convert_stereo_vol()
319 const snd_pcm_channel_area_t *src_areas, in softvol_convert_stereo_vol()
324 const snd_pcm_channel_area_t *dst_area, *src_area; in softvol_convert_stereo_vol()
378 const snd_pcm_channel_area_t *dst_areas, in softvol_convert_mono_vol()
380 const snd_pcm_channel_area_t *src_areas, in softvol_convert_mono_vol()
385 const snd_pcm_channel_area_t *dst_area, *src_area; in softvol_convert_mono_vol()
645 const snd_pcm_channel_area_t *areas, in snd_pcm_softvol_write_areas()
648 const snd_pcm_channel_area_t *slave_areas, in snd_pcm_softvol_write_areas()
668 const snd_pcm_channel_area_t *areas, in snd_pcm_softvol_read_areas()
671 const snd_pcm_channel_area_t *slave_area in snd_pcm_softvol_read_areas()
[all...]
H A Dpcm_ioplug.c634 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()
1022 array contains the array of snd_pcm_channel_area_t with the elements
1224 const snd_pcm_channel_area_t *snd_pcm_ioplug_mmap_area
[all...]
H A Dpcm_local.h191 int (*mmap_begin)(snd_pcm_t *pcm, const snd_pcm_channel_area_t **areas, snd_pcm_uframes_t *offset, snd_pcm_uframes_t *frames); /* locked */
245 snd_pcm_channel_area_t *running_areas;
246 snd_pcm_channel_area_t *stopped_areas;
378 void snd_pcm_areas_from_buf(snd_pcm_t *pcm, snd_pcm_channel_area_t *areas, void *buf);
379 void snd_pcm_areas_from_bufs(snd_pcm_t *pcm, snd_pcm_channel_area_t *areas, void **bufs);
405 const snd_pcm_channel_area_t *areas,
409 snd_pcm_sframes_t snd_pcm_read_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_t *areas,
412 snd_pcm_sframes_t snd_pcm_write_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_t *areas,
431 int __snd_pcm_mmap_begin_generic(snd_pcm_t *pcm, const snd_pcm_channel_area_t **areas,
433 int __snd_pcm_mmap_begin(snd_pcm_t *pcm, const snd_pcm_channel_area_t **area
[all...]
H A Dpcm_extplug.c338 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/
H A Dpcm_rate.h89 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,
H A Dpcm_extplug.h134 const snd_pcm_channel_area_t *dst_areas,
136 const snd_pcm_channel_area_t *src_areas,
H A Dpcm.h499 } snd_pcm_channel_area_t; typedef
1135 const snd_pcm_channel_area_t **areas,
1177 int snd_pcm_area_silence(const snd_pcm_channel_area_t *dst_channel, snd_pcm_uframes_t dst_offset,
1179 int snd_pcm_areas_silence(const snd_pcm_channel_area_t *dst_channels, snd_pcm_uframes_t dst_offset,
1181 int snd_pcm_area_copy(const snd_pcm_channel_area_t *dst_channel, snd_pcm_uframes_t dst_offset,
1182 const snd_pcm_channel_area_t *src_channel, snd_pcm_uframes_t src_offset,
1184 int snd_pcm_areas_copy(const snd_pcm_channel_area_t *dst_channels, snd_pcm_uframes_t dst_offset,
1185 const snd_pcm_channel_area_t *src_channels, snd_pcm_uframes_t src_offset,
1187 int snd_pcm_areas_copy_wrap(const snd_pcm_channel_area_t *dst_channels,
1190 const snd_pcm_channel_area_t *src_channel
[all...]
H A Dpcm_ioplug.h147 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/
H A Dpcm.c36 static void generate_sine(const snd_pcm_channel_area_t *areas, in generate_sine()
256 snd_pcm_channel_area_t *areas) in write_loop()
303 snd_pcm_channel_area_t *areas) in write_and_poll_loop()
392 snd_pcm_channel_area_t *areas;
401 snd_pcm_channel_area_t *areas = data->areas; in async_callback()
423 snd_pcm_channel_area_t *areas) in async_loop()
472 const snd_pcm_channel_area_t *my_areas; in async_direct_callback()
544 snd_pcm_channel_area_t *areas ATTRIBUTE_UNUSED) in async_direct_loop()
548 const snd_pcm_channel_area_t *my_areas; in async_direct_loop()
602 snd_pcm_channel_area_t *area in direct_loop()
[all...]
/third_party/alsa-utils/axfer/
H A Dxfer-libasound-timer-mmap.c74 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()
H A Dxfer-libasound-irq-mmap.c49 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()

Completed in 23 milliseconds

12