Lines Matching refs:pcm_config
144 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()
166 nChannels, sampleRateHz, pcm_config.period_count, pcm_config.period_size, isOut); in pcmOpen()
174 nChannels, sampleRateHz, pcm_config.period_count, pcm_config.period_size, isOut, in pcmOpen()
182 nChannels, sampleRateHz, pcm_config.period_count, pcm_config.period_size, isOut, in pcmOpen()