Lines Matching defs:config
188 struct pcm_config config;
194 memset(&config, 0, sizeof(config));
195 config.channels = channels;
196 config.rate = rate;
197 config.period_size = period_size;
198 config.period_count = period_count;
199 config.format = format;
200 config.start_threshold = 0;
201 config.stop_threshold = 0;
202 config.silence_threshold = 0;
204 pcm = pcm_open(card, device, PCM_IN, &config);