Home | History | Annotate | Download | only in audio

Lines Matching defs:config

58     struct pcm_config config;
60 memset(&config, 0, sizeof(config));
61 config.channels = 2;
62 config.rate = samplingRate;
63 config.period_size = 1024;
64 config.period_count = 64;
65 config.format = PCM_FORMAT_S16_LE;
66 config.start_threshold = 0;
67 config.stop_threshold = 0;
68 config.silence_threshold = 0;
70 mPcmHandle = pcm_open(mHwId, 0, PCM_OUT, &config);