Home | History | Annotate | Download | only in sound

Lines Matching defs:config

42     struct msm_audio_config config;
54 if(ioctl(afd, AUDIO_GET_CONFIG, &config)) {
55 perror("could not get config");
59 config.channel_count = channels;
60 config.sample_rate = rate;
61 if (ioctl(afd, AUDIO_SET_CONFIG, &config)) {
62 perror("could not set config");
65 sz = config.buffer_size;
72 for (n = 0; n < config.buffer_count; n++) {
231 /* config change should be a read-modify-write operation */
233 perror("cannot read audio config");
240 perror("cannot write audio config");
245 perror("cannot read audio config");