Home
last modified time | relevance | path

Searched refs:pcm_config (Results 1 – 10 of 10) sorted by relevance

/device/generic/goldfish/audio/
Dtalsa.cpp144 struct pcm_config pcm_config; in pcmOpen() local
145 memset(&pcm_config, 0, sizeof(pcm_config)); in pcmOpen()
147 pcm_config.channels = nChannels; in pcmOpen()
148 pcm_config.rate = sampleRateHz; in pcmOpen()
150 pcm_config.period_count = periodSettings.periodCount; in pcmOpen()
152 pcm_config.period_size = in pcmOpen()
154 pcm_config.format = PCM_FORMAT_S16_LE; in pcmOpen()
156 pcm_config.start_threshold = pcm_config.period_size * (pcm_config.period_count - 1); in pcmOpen()
157 pcm_config.stop_threshold = pcm_config.period_size * pcm_config.period_count; in pcmOpen()
162 &pcm_config); in pcmOpen()
[all …]
/device/generic/car/emulator/audio/driver/
Daudio_hw.c208 static struct pcm_config pcm_config_out = {
232 static struct pcm_config pcm_config_in = {
266 int size = out->pcm_config.period_size * in out_get_buffer_size()
365 return (out->pcm_config.period_size * 1000) / out->pcm_config.rate; in out_get_latency()
440 PCM_OUT | PCM_MONOTONIC, &out->pcm_config); in out_write_worker()
445 out->pcm_config.channels, in out_write_worker()
446 out->pcm_config.format, in out_write_worker()
447 out->pcm_config.rate); in out_write_worker()
451 buffer_frames = out->pcm_config.period_size; in out_write_worker()
990 PCM_IN | PCM_MONOTONIC, &in->pcm_config); in in_read_worker()
[all …]
Daudio_hw.h57 struct pcm_config pcm_config; // Constant after init member
95 struct pcm_config pcm_config; // Constant after init member
Dext_pcm.h46 unsigned int flags, struct pcm_config *config);
Dext_pcm.c139 unsigned int flags, struct pcm_config *config) { in ext_pcm_open()
/device/linaro/dragonboard/audio/
Daudio_hw.h88 struct pcm_config config;
104 struct pcm_config config;
/device/amlogic/yukawa/hal/audio/
Daudio_hw.h90 struct pcm_config config;
106 struct pcm_config config;
/device/google/felix/vibrator/cs40l26/
DHardware.h27 static struct pcm_config haptic_nohost_config = {
/device/linaro/poplar/audio/
Daudio_hw.c78 struct pcm_config config;
/device/linaro/hikey/audio/
Daudio_hw.c111 struct pcm_config config;