Lines Matching refs:config_
158 config_ = config;
283 if (av_frame_->sample_rate != config_.samples_per_second() ||
284 channels != ChannelLayoutToChannelCount(config_.channel_layout()) ||
288 << config_.samples_per_second()
290 << ChannelLayoutToChannelCount(config_.channel_layout())
294 if (config_.codec() == kCodecAAC &&
295 av_frame_->sample_rate == 2 * config_.samples_per_second()) {
310 DCHECK_EQ(ChannelLayoutToChannelCount(config_.channel_layout()),
338 if (!config_.IsValidConfig()) {
340 << " codec: " << config_.codec()
341 << " channel layout: " << config_.channel_layout()
342 << " bits per channel: " << config_.bits_per_channel()
343 << " samples per second: " << config_.samples_per_second();
347 if (config_.is_encrypted()) {
357 AudioDecoderConfigToAVCodecContext(config_, codec_context_.get());
374 discard_helper_.reset(new AudioDiscardHelper(config_.samples_per_second(),
375 config_.codec_delay()));
379 ChannelLayoutToChannelCount(config_.channel_layout())) {
381 << ChannelLayoutToChannelCount(config_.channel_layout())
394 discard_helper_->Reset(config_.codec_delay());