Home
last modified time | relevance | path

Searched refs:snd_pcm_format_t (Results 1 – 25 of 67) sorted by relevance

123

/third_party/alsa-lib/include/sound/uapi/
Dasound.h192 typedef int __bitwise snd_pcm_format_t; typedef
193 #define SNDRV_PCM_FORMAT_S8 ((snd_pcm_format_t) 0)
194 #define SNDRV_PCM_FORMAT_U8 ((snd_pcm_format_t) 1)
195 #define SNDRV_PCM_FORMAT_S16_LE ((snd_pcm_format_t) 2)
196 #define SNDRV_PCM_FORMAT_S16_BE ((snd_pcm_format_t) 3)
197 #define SNDRV_PCM_FORMAT_U16_LE ((snd_pcm_format_t) 4)
198 #define SNDRV_PCM_FORMAT_U16_BE ((snd_pcm_format_t) 5)
199 #define SNDRV_PCM_FORMAT_S24_LE ((snd_pcm_format_t) 6) /* low three bytes */
200 #define SNDRV_PCM_FORMAT_S24_BE ((snd_pcm_format_t) 7) /* low three bytes */
201 #define SNDRV_PCM_FORMAT_U24_LE ((snd_pcm_format_t) 8) /* low three bytes */
[all …]
/third_party/alsa-lib/src/pcm/
Dpcm_misc.c35 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed()
85 int snd_pcm_format_unsigned(snd_pcm_format_t format) in snd_pcm_format_unsigned()
100 int snd_pcm_format_linear(snd_pcm_format_t format) in snd_pcm_format_linear()
110 int snd_pcm_format_float(snd_pcm_format_t format) in snd_pcm_format_float()
128 int snd_pcm_format_little_endian(snd_pcm_format_t format) in snd_pcm_format_little_endian()
181 int snd_pcm_format_big_endian(snd_pcm_format_t format) in snd_pcm_format_big_endian()
196 int snd_pcm_format_cpu_endian(snd_pcm_format_t format) in snd_pcm_format_cpu_endian()
210 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width()
277 int snd_pcm_format_physical_width(snd_pcm_format_t format) in snd_pcm_format_physical_width()
342 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) in snd_pcm_format_size()
[all …]
Dpcm_plugin.h100 int snd_pcm_linear_get_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format);
101 int snd_pcm_linear_put_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format);
102 int snd_pcm_linear_convert_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format);
Dpcm_linear.c47 snd_pcm_format_t sformat;
53 int snd_pcm_linear_convert_index(snd_pcm_format_t src_format, in snd_pcm_linear_convert_index()
54 snd_pcm_format_t dst_format) in snd_pcm_linear_convert_index()
79 int snd_pcm_linear_get_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format) in snd_pcm_linear_get_index()
113 int snd_pcm_linear_put_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format) in snd_pcm_linear_put_index()
300 snd_pcm_format_t format; in snd_pcm_linear_hw_params()
428 int snd_pcm_linear_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *sl… in snd_pcm_linear_open()
518 snd_pcm_format_t sformat; in _snd_pcm_linear_open()
Dpcm_plug.c50 snd_pcm_format_t sformat;
94 static const snd_pcm_format_t linear_preferred_formats[] = {
194 static const snd_pcm_format_t nonlinear_preferred_formats[] = {
208 static const snd_pcm_format_t float_preferred_formats[] = {
239 snd_pcm_format_t f; in check_linear_format()
252 static snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format, const snd_pcm_format_mas… in snd_pcm_plug_slave_format()
255 snd_pcm_format_t f; in snd_pcm_plug_slave_format()
280 snd_pcm_format_t f = linear_preferred_formats[i]; in snd_pcm_plug_slave_format()
296 snd_pcm_format_t f = nonlinear_preferred_formats[i]; in snd_pcm_plug_slave_format()
308 snd_pcm_format_t f = float_preferred_formats[i]; in snd_pcm_plug_slave_format()
[all …]
Dpcm_lfloat.c54 snd_pcm_format_t sformat;
61 int snd_pcm_lfloat_get_s32_index(snd_pcm_format_t format) in snd_pcm_lfloat_get_s32_index()
85 int snd_pcm_lfloat_put_s32_index(snd_pcm_format_t format) in snd_pcm_lfloat_put_s32_index()
273 snd_pcm_format_t src_format, dst_format; in snd_pcm_lfloat_hw_params()
383 int snd_pcm_lfloat_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *sl… in snd_pcm_lfloat_open()
475 snd_pcm_format_t sformat; in _snd_pcm_lfloat_open()
521 snd_pcm_format_t sformat ATTRIBUTE_UNUSED, in snd_pcm_lfloat_open()
Dpcm_simple.c51 snd_pcm_format_t format, in set_hw_params()
160 snd_pcm_format_t format, in snd_spcm_init()
213 snd_pcm_format_t format, in snd_spcm_init_duplex()
Dpcm_alaw.c54 snd_pcm_format_t sformat;
308 snd_pcm_format_t format; in snd_pcm_alaw_hw_params()
424 int snd_pcm_alaw_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slav… in snd_pcm_alaw_open()
516 snd_pcm_format_t sformat; in _snd_pcm_alaw_open()
Dpcm_mulaw.c54 snd_pcm_format_t sformat;
323 snd_pcm_format_t format; in snd_pcm_mulaw_hw_params()
438 int snd_pcm_mulaw_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *sla… in snd_pcm_mulaw_open()
530 snd_pcm_format_t sformat; in _snd_pcm_mulaw_open()
Dpcm_iec958.c59 snd_pcm_format_t sformat;
60 snd_pcm_format_t format;
331 snd_pcm_format_t format; in snd_pcm_iec958_hw_params()
565 int snd_pcm_iec958_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, in snd_pcm_iec958_open()
696 snd_pcm_format_t sformat; in _snd_pcm_iec958_open()
Dpcm_adpcm.c85 snd_pcm_format_t sformat;
412 snd_pcm_format_t format; in snd_pcm_adpcm_hw_params()
551 int snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *sla… in snd_pcm_adpcm_open()
642 snd_pcm_format_t sformat; in _snd_pcm_adpcm_open()
Dpcm.c2119 const char *snd_pcm_format_name(const snd_pcm_format_t format) in snd_pcm_format_name()
2131 const char *snd_pcm_format_description(const snd_pcm_format_t format) in snd_pcm_format_description()
2143 snd_pcm_format_t snd_pcm_format_value(const char* name) in snd_pcm_format_value()
2145 snd_pcm_format_t format; in snd_pcm_format_value()
3049 unsigned int samples, snd_pcm_format_t format) in snd_pcm_area_silence()
3164 unsigned int channels, snd_pcm_uframes_t frames, snd_pcm_format_t format) in snd_pcm_areas_silence()
3216 unsigned int samples, snd_pcm_format_t format) in snd_pcm_area_copy()
3337 unsigned int channels, snd_pcm_uframes_t frames, snd_pcm_format_t format) in snd_pcm_areas_copy()
3421 const snd_pcm_format_t format) in snd_pcm_areas_copy_wrap()
4005 int snd_pcm_format_mask_test(const snd_pcm_format_mask_t *mask, snd_pcm_format_t val) in snd_pcm_format_mask_test()
[all …]
/third_party/alsa-lib/include/
Dpcm.h281 } snd_pcm_format_t; typedef
658 snd_pcm_format_t format,
779 int snd_pcm_hw_params_get_format(const snd_pcm_hw_params_t *params, snd_pcm_format_t *val);
780 int snd_pcm_hw_params_test_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val…
781 int snd_pcm_hw_params_set_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val);
782 …_hw_params_set_format_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t *format);
783 int snd_pcm_hw_params_set_format_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t
984 int snd_pcm_format_mask_test(const snd_pcm_format_mask_t *mask, snd_pcm_format_t val);
986 void snd_pcm_format_mask_set(snd_pcm_format_mask_t *mask, snd_pcm_format_t val);
987 void snd_pcm_format_mask_reset(snd_pcm_format_mask_t *mask, snd_pcm_format_t val);
[all …]
Dpcm_plugin.h90 snd_pcm_format_t sformat, snd_pcm_t *slave,
100 snd_pcm_format_t sformat, snd_pcm_t *slave,
110 snd_pcm_format_t sformat, snd_pcm_t *slave,
120 snd_pcm_format_t sformat, snd_pcm_t *slave,
130 snd_pcm_format_t sformat, snd_pcm_t *slave,
147 snd_pcm_format_t sformat, int schannels,
160 snd_pcm_format_t sformat, unsigned int srate,
Dpcm_extplug.h101 snd_pcm_format_t format;
117 snd_pcm_format_t slave_format;
Dpcm_old.h24 int snd_pcm_hw_params_test_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val…
25 int snd_pcm_hw_params_set_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val);
26 snd_pcm_format_t snd_pcm_hw_params_set_format_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
27 snd_pcm_format_t snd_pcm_hw_params_set_format_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
/third_party/alsa-utils/axfer/test/
Dgenerator.c49 snd_pcm_format_t sample_format, in allocate_buf()
61 snd_pcm_format_t sample_format, in allocate_vector()
89 snd_pcm_format_t sample_format, in fill_buf()
108 snd_pcm_format_t sample_format, in fill_vector()
150 snd_pcm_format_t sample_format, in test_frame_count()
154 snd_pcm_format_t sample_format, in test_frame_count()
158 snd_pcm_format_t sample_format, in test_frame_count()
201 snd_pcm_format_t sample_format) in test_samples_per_frame()
Dmapper-test.c70 snd_pcm_format_t sample_format, in test_demux()
85 snd_pcm_format_t format; in test_demux()
161 snd_pcm_format_t sample_format, in test_mux()
175 snd_pcm_format_t format; in test_mux()
221 snd_pcm_format_t sample_format, in test_mapper()
280 snd_pcm_format_t sample_format, in test_i_buf()
320 snd_pcm_format_t sample_format, in test_vector()
379 snd_pcm_format_t sample_format, in test_n_buf()
407 snd_pcm_format_t sample_format, in callback()
413 snd_pcm_format_t sample_format, in callback()
Dcontainer-test.c39 snd_pcm_format_t sample_format, in test_builder()
45 snd_pcm_format_t sample; in test_builder()
85 snd_pcm_access_t access, snd_pcm_format_t sample_format, in test_parser()
91 snd_pcm_format_t sample; in test_parser()
128 snd_pcm_format_t sample_format, in callback()
Dgenerator.h18 snd_pcm_format_t sample_format,
/third_party/alsa-utils/axfer/
Dxfer.h47 snd_pcm_format_t sample_format;
62 snd_pcm_format_t *format,
88 int (*pre_process)(struct xfer_context *xfer, snd_pcm_format_t *format,
Dcontainer-raw.c17 snd_pcm_format_t *sample_format, in raw_builder_pre_process()
28 snd_pcm_format_t *sample_format, in raw_parser_pre_process()
Dcontainer-au.c35 snd_pcm_format_t format;
71 snd_pcm_format_t *format, in au_parser_pre_process()
150 snd_pcm_format_t *format, in au_builder_pre_process()
Dcontainer.h69 snd_pcm_format_t *format,
83 snd_pcm_format_t *format,
Dsubcmd-transfer.c169 snd_pcm_format_t sample_format = SND_PCM_FORMAT_UNKNOWN; in capture_pre_process()
233 snd_pcm_format_t sample_format = SND_PCM_FORMAT_UNKNOWN; in playback_pre_process()
247 snd_pcm_format_t format; in playback_pre_process()

123