Lines Matching defs:config

1136     audio_config_t config;
1137 memset(&config, 0, sizeof(config));
1138 config.sample_rate = sampleRate;
1139 config.channel_mask = channelMask;
1140 config.format = format;
1143 size_t size = dev->get_input_buffer_size(dev, &config);
1223 // the config change is always sent from playback or record threads to avoid deadlock
1692 audio_config_t *config,
1718 //config->format = AUDIO_FORMAT_PCM_FLOAT;
1719 //config->format = AUDIO_FORMAT_PCM_24_BIT_PACKED;
1720 //config->format = AUDIO_FORMAT_PCM_32_BIT;
1721 //config->format = AUDIO_FORMAT_PCM_8_24_BIT;
1722 // ALOGV("openOutput_l() upgrading format to %#08x", config->format);
1726 //config->channel_mask = audio_channel_out_mask_from_count(4); // for USB 4ch
1727 //config->channel_mask = audio_channel_mask_from_representation_and_bits(
1736 config,
1744 config->sample_rate,
1745 config->format,
1746 config->channel_mask,
1757 || !isValidPcmSinkFormat(config->format)
1758 || !isValidPcmSinkChannelMask(config->channel_mask)) {
1774 audio_config_t *config,
1783 config->sample_rate,
1784 config->format,
1785 config->channel_mask,
1794 sp<PlaybackThread> thread = openOutput_l(module, output, config, *devices, address, flags);
1811 mPrimaryOutputSampleRate = config->sample_rate;
1949 audio_config_t *config,
1961 sp<RecordThread> thread = openInput_l(module, input, config, *device, address, source, flags);
1973 audio_config_t *config,
1989 audio_config_t halconfig = *config;
2007 config->format == halconfig.format && halconfig.format == AUDIO_FORMAT_PCM_16_BIT &&
2008 (halconfig.sample_rate <= 2 * config->sample_rate) &&
2010 (audio_channel_count_from_in_mask(config->channel_mask) <= FCC_2)) {