Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Dtalsa.cpp110 struct pcm_config pcm_config; in pcmOpen() local
111 memset(&pcm_config, 0, sizeof(pcm_config)); in pcmOpen()
113 pcm_config.channels = nChannels; in pcmOpen()
114 pcm_config.rate = sampleRateHz; in pcmOpen()
115 pcm_config.period_size = frameCount; // Approx frames between interrupts in pcmOpen()
116 pcm_config.period_count = 8; // Approx interrupts per buffer in pcmOpen()
117 pcm_config.format = PCM_FORMAT_S16_LE; in pcmOpen()
118 pcm_config.start_threshold = 0; in pcmOpen()
119 pcm_config.stop_threshold = isOut ? 0 : INT_MAX; in pcmOpen()
124 &pcm_config)); in pcmOpen()
/device/generic/car/emulator/audio/driver/
Daudio_hw.h50 struct pcm_config pcm_config; // Constant after init member
80 struct pcm_config pcm_config; // Constant after init member
Daudio_hw.c60 static struct pcm_config pcm_config_out = {
69 static struct pcm_config pcm_config_in = {
93 int size = out->pcm_config.period_size * in out_get_buffer_size()
196 return (out->pcm_config.period_size * 1000) / out->pcm_config.rate; in out_get_latency()
246 PCM_OUT | PCM_MONOTONIC, &out->pcm_config); in out_write_worker()
251 out->pcm_config.channels, in out_write_worker()
252 out->pcm_config.format, in out_write_worker()
253 out->pcm_config.rate); in out_write_worker()
257 buffer_frames = out->pcm_config.period_size; in out_write_worker()
791 PCM_IN | PCM_MONOTONIC, &in->pcm_config); in in_read_worker()
[all …]
Dext_pcm.h44 unsigned int flags, struct pcm_config *config);
Dext_pcm.c112 unsigned int flags, struct pcm_config *config) { in ext_pcm_open()
/device/linaro/dragonboard/audio/
Daudio_hw.c182 struct pcm_config pcm_config; // Constant after init member
213 struct pcm_config pcm_config; // Constant after init member
236 static struct pcm_config pcm_config_out = {
245 static struct pcm_config pcm_config_in = {
272 int size = out->pcm_config.period_size * in out_get_buffer_size()
409 return (out->pcm_config.period_size * 1000) / out->pcm_config.rate; in out_get_latency()
461 PCM_OUT | PCM_MONOTONIC, &out->pcm_config); in out_write_worker()
465 out->pcm_config.channels, in out_write_worker()
466 out->pcm_config.format, in out_write_worker()
467 out->pcm_config.rate in out_write_worker()
[all …]
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c185 struct pcm_config pcm_config; // Constant after init member
216 struct pcm_config pcm_config; // Constant after init member
239 static struct pcm_config pcm_config_out = {
248 static struct pcm_config pcm_config_in = {
275 int size = out->pcm_config.period_size * in out_get_buffer_size()
412 return (out->pcm_config.period_size * 1000) / out->pcm_config.rate; in out_get_latency()
464 PCM_OUT | PCM_MONOTONIC, &out->pcm_config); in out_write_worker()
468 out->pcm_config.channels, in out_write_worker()
469 out->pcm_config.format, in out_write_worker()
470 out->pcm_config.rate in out_write_worker()
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dasoundlib.h86 struct pcm_config { struct
152 unsigned int flags, struct pcm_config *config);
188 int pcm_get_config(struct pcm *pcm, struct pcm_config *config);
189 int pcm_set_config(struct pcm *pcm, struct pcm_config *config);
Dpcm.c246 struct pcm_config config;
839 unsigned int flags, struct pcm_config *config) in pcm_open()
/device/amlogic/yukawa/hal/audio/
Daudio_hw.h90 struct pcm_config config;
106 struct pcm_config config;
/device/linaro/hikey/hifi/xaf/host-apf/playback/
Dxa_playback.c233 struct pcm_config config; in xa_playback_open()
292 struct pcm_config config;
/device/linaro/poplar/audio/
Daudio_hw.c78 struct pcm_config config;
/device/linaro/hikey/audio/
Daudio_hw.c112 struct pcm_config config;