Searched refs:pcm_config (Results 1 – 10 of 10) sorted by relevance
144 struct pcm_config pcm_config; in pcmOpen() local145 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 …]
208 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 …]
57 struct pcm_config pcm_config; // Constant after init member95 struct pcm_config pcm_config; // Constant after init member
46 unsigned int flags, struct pcm_config *config);
139 unsigned int flags, struct pcm_config *config) { in ext_pcm_open()
88 struct pcm_config config;104 struct pcm_config config;
90 struct pcm_config config;106 struct pcm_config config;
27 static struct pcm_config haptic_nohost_config = {
78 struct pcm_config config;
111 struct pcm_config config;