Home
last modified time | relevance | path

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

12

/external/kernel-headers/original/uapi/sound/
Dasound.h194 typedef int __bitwise snd_pcm_format_t; typedef
195 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
196 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
197 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
198 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
199 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
200 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
201 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
202 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
203 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
[all …]
/external/adhd/cras/src/server/
Dcras_mix.h32 void cras_scale_buffer_increment(snd_pcm_format_t fmt, uint8_t *buff,
44 void cras_scale_buffer(snd_pcm_format_t fmt, uint8_t *buff, unsigned int count,
57 void cras_mix_add(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src,
71 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.c46 static const snd_pcm_format_t test_formats[] = {
48 SND_PCM_FORMAT_S24_3LE, (snd_pcm_format_t)0
365 snd_pcm_format_t **formats) in cras_alsa_fill_properties()
387 *formats = (snd_pcm_format_t *)malloc(sizeof(test_formats)); in cras_alsa_fill_properties()
438 (*formats)[num_found] = (snd_pcm_format_t)0; in cras_alsa_fill_properties()
Dcras_dsp_pipeline.h150 snd_pcm_format_t format, unsigned int frames);
Dcras_alsa_helpers.h117 snd_pcm_format_t **formats);
Dcras_a2dp_iodev.c102 (snd_pcm_format_t *)malloc(2 * sizeof(snd_pcm_format_t)); in update_supported_formats()
104 iodev->supported_formats[1] = (snd_pcm_format_t)0; in update_supported_formats()
Dcras_hfp_iodev.c63 (snd_pcm_format_t *)malloc(2 * sizeof(snd_pcm_format_t)); in update_supported_formats()
Dcras_mix_ops.c754 static void scale_buffer_increment(snd_pcm_format_t fmt, uint8_t *buff, in scale_buffer_increment()
776 static void scale_buffer(snd_pcm_format_t fmt, uint8_t *buff, in scale_buffer()
793 static void mix_add(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src, in mix_add()
815 static void mix_add_scale_stride(snd_pcm_format_t fmt, uint8_t *dst, in mix_add_scale_stride()
Dcras_empty_iodev.c26 static snd_pcm_format_t empty_supported_formats[] = {
/external/adhd/cras/src/common/
Dcras_audio_format.h21 typedef enum pcm_format snd_pcm_format_t; typedef
74 snd_pcm_format_t format;
113 dest.format = (snd_pcm_format_t)src->format; in unpack_cras_audio_format()
141 struct cras_audio_format *cras_audio_format_create(snd_pcm_format_t format,
Dcras_audio_format.c32 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.c459 snd_pcm_format_t format, int frames) in dsp_util_deinterleave()
564 snd_pcm_format_t format, int frames) in dsp_util_interleave()
/external/igt-gpu-tools/lib/
Digt_alsa.h41 bool alsa_test_output_configuration(struct alsa *alsa, snd_pcm_format_t dmt,
43 void alsa_configure_output(struct alsa *alsa, snd_pcm_format_t fmt,
Digt_alsa.c49 snd_pcm_format_t output_format;
269 static bool alsa_test_configuration(snd_pcm_t *handle, snd_pcm_format_t fmt, in alsa_test_configuration()
326 bool alsa_test_output_configuration(struct alsa *alsa, snd_pcm_format_t fmt, in alsa_test_output_configuration()
353 void alsa_configure_output(struct alsa *alsa, snd_pcm_format_t fmt, in alsa_configure_output()
Digt_audio.h53 snd_pcm_format_t format);
/external/adhd/cras/src/libcras/
Dcras_helpers.h68 snd_pcm_format_t format,
87 unsigned int num_frames, snd_pcm_format_t format,
Dcras_helpers.c108 snd_pcm_format_t format, unsigned int frame_rate, in cras_helper_add_stream_simple()
140 unsigned int frames, snd_pcm_format_t format, in cras_helper_play_buffer()
/external/adhd/cras/client/libcras/src/
Dcras_stream.rs13 use cras_sys::gen::{snd_pcm_format_t, CRAS_AUDIO_MESSAGE_ID, CRAS_STREAM_DIRECTION};
124 format: snd_pcm_format_t,
145 format: snd_pcm_format_t, in try_new() argument
/external/adhd/cras/client/cras-sys/src/
Dlib.rs24 cras_timespec, snd_pcm_format_t, CRAS_AUDIO_MESSAGE_ID, CRAS_CHANNEL, CRAS_CLIENT_TYPE,
648 impl From<SampleFormat> for snd_pcm_format_t { implementation
651 SampleFormat::U8 => snd_pcm_format_t::SND_PCM_FORMAT_U8, in from()
652 SampleFormat::S16LE => snd_pcm_format_t::SND_PCM_FORMAT_S16_LE, in from()
653 SampleFormat::S24LE => snd_pcm_format_t::SND_PCM_FORMAT_S24_LE, in from()
654 SampleFormat::S32LE => snd_pcm_format_t::SND_PCM_FORMAT_S32_LE, in from()
/external/adhd/cras/src/tests/
Dbt_io_unittest.cc104 (snd_pcm_format_t*)calloc(2, sizeof(*iodev->supported_formats)); in update_supported_formats()
106 iodev->supported_formats[1] = (snd_pcm_format_t)0; in update_supported_formats()
Dcras_client_unittest.cc99 snd_pcm_format_t pcm_format, in set_audio_format()
425 struct cras_audio_format* cras_audio_format_create(snd_pcm_format_t format, in cras_audio_format_create()
Dhfp_alsa_iodev_unittest.cc218 snd_pcm_format_t supported_formats[] = {SND_PCM_FORMAT_S16_LE, in TEST_F()
219 (snd_pcm_format_t)0}; in TEST_F()

12