Lines Matching defs:config
40 struct msm_audio_config config;
52 if(ioctl(afd, AUDIO_GET_CONFIG, &config)) {
53 perror("could not get config");
57 config.channel_count = channels;
58 config.sample_rate = rate;
59 if (ioctl(afd, AUDIO_SET_CONFIG, &config)) {
60 perror("could not set config");
63 sz = config.buffer_size;
70 for (n = 0; n < config.buffer_count; n++) {
229 /* config change should be a read-modify-write operation */
231 perror("cannot read audio config");
238 perror("cannot write audio config");
243 perror("cannot read audio config");