Lines Matching defs:proposed
1306 audio_config_t config, proposed;
1307 memset(&proposed, 0, sizeof(proposed));
1308 proposed.sample_rate = sampleRate;
1309 proposed.channel_mask = channelMask;
1310 proposed.format = format;
1316 // but we use a copy from proposed in case config changes from the call.
1317 config = proposed;
1324 if (proposed.format != AUDIO_FORMAT_PCM_16_BIT) {
1325 proposed.format = AUDIO_FORMAT_PCM_16_BIT;
1326 } else if (proposed.sample_rate != 44100) { // 44.1 is claimed as must in CDD as well as
1327 proposed.sample_rate = 44100; // legacy AudioRecord.java. TODO: Query hw?
2280 // conversion internally, try to open again with the proposed parameters.
2287 // FIXME describe the change proposed by HAL (save old values so we can log them here)
2288 ALOGV("openInput_l() reopening with proposed sampling rate and channel mask");