Home
last modified time | relevance | path

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

12

/external/kernel-headers/original/uapi/sound/
Dasound.h191 typedef int __bitwise snd_pcm_format_t; typedef
192 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
193 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
194 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
195 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
196 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
197 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
198 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
199 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
200 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
[all …]
/external/adhd/cras/src/server/
Dcras_mix.h29 void cras_scale_buffer_increment(snd_pcm_format_t fmt, uint8_t *buff,
41 void cras_scale_buffer(snd_pcm_format_t fmt, uint8_t *buff, unsigned int count,
54 void cras_mix_add(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src,
68 void cras_mix_add_scale_stride(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src,
Dcras_mix_ops.h33 void (*scale_buffer_increment)(snd_pcm_format_t fmt, uint8_t *buff,
36 void (*scale_buffer)(snd_pcm_format_t fmt, uint8_t *buff,
38 void (*add)(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src,
41 void (*add_scale_stride)(snd_pcm_format_t fmt, uint8_t *dst,
Dcras_mix.c46 void cras_scale_buffer_increment(snd_pcm_format_t fmt, uint8_t *buff, in cras_scale_buffer_increment()
54 void cras_scale_buffer(snd_pcm_format_t fmt, uint8_t *buff, unsigned int count, in cras_scale_buffer()
60 void cras_mix_add(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src, in cras_mix_add()
67 void cras_mix_add_scale_stride(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src, in cras_mix_add_scale_stride()
Dcras_alsa_helpers.c60 static const snd_pcm_format_t test_formats[] = {
65 (snd_pcm_format_t)0
388 snd_pcm_format_t **formats) in cras_alsa_fill_properties()
410 *formats = (snd_pcm_format_t *)malloc(sizeof(test_formats)); in cras_alsa_fill_properties()
450 (*formats)[num_found] = (snd_pcm_format_t)0; in cras_alsa_fill_properties()
Dcras_dsp_pipeline.h147 snd_pcm_format_t format, unsigned int frames);
Dcras_hfp_iodev.c45 (snd_pcm_format_t *)malloc(2 * sizeof(snd_pcm_format_t)); in update_supported_formats()
Dcras_alsa_helpers.h120 snd_pcm_format_t **formats);
Dcras_mix_ops.c764 static void scale_buffer_increment(snd_pcm_format_t fmt, uint8_t *buff, in scale_buffer_increment()
786 static void scale_buffer(snd_pcm_format_t fmt, uint8_t *buff, unsigned int count, in scale_buffer()
803 static void mix_add(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src, in mix_add()
825 static void mix_add_scale_stride(snd_pcm_format_t fmt, uint8_t *dst, in mix_add_scale_stride()
Dcras_a2dp_iodev.c95 (snd_pcm_format_t *)malloc(2 * sizeof(snd_pcm_format_t)); in update_supported_formats()
Dcras_empty_iodev.c30 static snd_pcm_format_t empty_supported_formats[] = {
Dtest_iodev.c32 static snd_pcm_format_t test_supported_formats[] = {
Dcras_iodev.c333 static snd_pcm_format_t get_best_pcm_format(struct cras_iodev *iodev, in get_best_pcm_format()
334 snd_pcm_format_t fmt) in get_best_pcm_format()
441 snd_pcm_format_t actual_format; in cras_iodev_set_format()
Dcras_iodev.h236 snd_pcm_format_t *supported_formats;
/external/adhd/cras/src/common/
Dcras_audio_format.h20 typedef enum pcm_format snd_pcm_format_t; typedef
73 snd_pcm_format_t format;
111 dest->format = (snd_pcm_format_t)src->format; in unpack_cras_audio_format()
138 struct cras_audio_format *cras_audio_format_create(snd_pcm_format_t format,
Dcras_audio_format.c34 struct cras_audio_format *cras_audio_format_create(snd_pcm_format_t format, in cras_audio_format_create()
/external/adhd/cras/src/dsp/
Ddsp_util.h29 snd_pcm_format_t format, int frames);
44 snd_pcm_format_t format, int frames);
Ddsp_util.c449 snd_pcm_format_t format, int frames) in dsp_util_deinterleave()
555 snd_pcm_format_t format, int frames) in dsp_util_interleave()
/external/adhd/cras/src/libcras/
Dcras_helpers.h64 snd_pcm_format_t format,
86 snd_pcm_format_t format,
Dcras_helpers.c114 snd_pcm_format_t format, in cras_helper_add_stream_simple()
150 snd_pcm_format_t format, in cras_helper_play_buffer()
/external/adhd/cras/src/tests/
Dcras_client_unittest.cc100 snd_pcm_format_t pcm_format, in set_audio_format()
376 struct cras_audio_format *cras_audio_format_create(snd_pcm_format_t format, in cras_audio_format_create()
Dbt_io_unittest.cc103 iodev->supported_formats = (snd_pcm_format_t *)calloc( in update_supported_formats()
106 iodev->supported_formats[1] = (snd_pcm_format_t)0; in update_supported_formats()
Diodev_unittest.cc66 static snd_pcm_format_t cras_scale_buffer_fmt;
103 static snd_pcm_format_t cras_scale_buffer_increment_fmt;
257 pcm_formats_[2] = static_cast<snd_pcm_format_t>(0); in SetUp()
279 snd_pcm_format_t pcm_formats_[3];
2308 uint8_t *buf, snd_pcm_format_t format, in cras_dsp_pipeline_apply()
2429 void cras_scale_buffer(snd_pcm_format_t fmt, uint8_t *buffer, in cras_scale_buffer()
2436 void cras_scale_buffer_increment(snd_pcm_format_t fmt, uint8_t *buff, in cras_scale_buffer_increment()
Dmix_unittest.cc100 snd_pcm_format_t fmt_;
359 snd_pcm_format_t fmt_;
617 snd_pcm_format_t fmt_;
890 snd_pcm_format_t fmt_;
Dapm_list_unittest.cc212 snd_pcm_format_t format, int frames) in dsp_util_interleave()

12