Home
last modified time | relevance | path

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

/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/google/cuttlefish_common/guest/hals/audio/
Daudio_hw.c180 struct pcm_config pcm_config; // Constant after init member
206 struct pcm_config pcm_config; // Constant after init member
224 static struct pcm_config pcm_config_out = {
233 static struct pcm_config pcm_config_in = {
260 int size = out->pcm_config.period_size * in out_get_buffer_size()
401 return (out->pcm_config.period_size * 1000) / out->pcm_config.rate; in out_get_latency()
453 PCM_OUT | PCM_MONOTONIC, &out->pcm_config); in out_write_worker()
457 out->pcm_config.channels, in out_write_worker()
458 out->pcm_config.format, in out_write_worker()
459 out->pcm_config.rate in out_write_worker()
[all …]
/device/generic/goldfish/audio/
Daudio_hw.c177 struct pcm_config pcm_config; // Constant after init member
203 struct pcm_config pcm_config; // Constant after init member
221 static struct pcm_config pcm_config_out = {
230 static struct pcm_config pcm_config_in = {
257 int size = out->pcm_config.period_size * in out_get_buffer_size()
398 return (out->pcm_config.period_size * 1000) / out->pcm_config.rate; in out_get_latency()
450 PCM_OUT | PCM_MONOTONIC, &out->pcm_config); in out_write_worker()
454 out->pcm_config.channels, in out_write_worker()
455 out->pcm_config.format, in out_write_worker()
456 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/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;