Home
last modified time | relevance | path

Searched refs:snd_pcm_format_t (Results 1 – 25 of 27) 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.c59 static const snd_pcm_format_t test_formats[] = {
64 (snd_pcm_format_t)0
390 snd_pcm_format_t **formats) in cras_alsa_fill_properties()
425 *formats = (snd_pcm_format_t *)malloc(sizeof(test_formats)); in cras_alsa_fill_properties()
458 (*formats)[num_found] = (snd_pcm_format_t)0; in cras_alsa_fill_properties()
Dcras_hfp_iodev.c44 (snd_pcm_format_t *)malloc(2 * sizeof(snd_pcm_format_t)); in update_supported_formats()
Dcras_alsa_helpers.h121 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.c94 (snd_pcm_format_t *)malloc(2 * sizeof(snd_pcm_format_t)); in update_supported_formats()
Dcras_iodev.c314 static snd_pcm_format_t get_best_pcm_format(struct cras_iodev *iodev, in get_best_pcm_format()
315 snd_pcm_format_t fmt) in get_best_pcm_format()
431 snd_pcm_format_t actual_format; in cras_iodev_set_format()
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.h214 snd_pcm_format_t *supported_formats;
Dcras_loopback_iodev.c35 static snd_pcm_format_t loopback_supported_formats[] = {
Dcras_bt_io.c168 iodev->supported_formats = (snd_pcm_format_t *)malloc( in update_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()
128 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/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/
Dbt_io_unittest.cc94 iodev->supported_formats = (snd_pcm_format_t *)calloc( in update_supported_formats()
97 iodev->supported_formats[1] = (snd_pcm_format_t)0; in update_supported_formats()
Diodev_unittest.cc63 static snd_pcm_format_t cras_scale_buffer_fmt;
100 static snd_pcm_format_t cras_scale_buffer_increment_fmt;
242 pcm_formats_[2] = static_cast<snd_pcm_format_t>(0); in SetUp()
264 snd_pcm_format_t pcm_formats_[3];
2198 void cras_scale_buffer(snd_pcm_format_t fmt, uint8_t *buffer, in cras_scale_buffer()
2205 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_;
Dcras_client_unittest.cc100 snd_pcm_format_t pcm_format, in set_audio_format()
Daudio_area_unittest.cc313 void cras_mix_add_scale_stride(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src, in cras_mix_add_scale_stride()
/external/webrtc/webrtc/sound/
Dalsasoundsystem.cc31 static const snd_pcm_format_t kCricketFormatToAlsaFormatTable[] = {

12