| Index: chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc
|
| diff --git a/chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc b/chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc
|
| index a83d6a45a13caf64f0f5db535da7c40304d055c0..aef716a767cfc474b300f3c70872be7fadec80d8 100644
|
| --- a/chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc
|
| +++ b/chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc
|
| @@ -109,7 +109,7 @@ bool AudioDecoderAlsa::Start(int64_t start_pts) {
|
| current_pts_ = start_pts;
|
| DCHECK(IsValidConfig(config_));
|
| mixer_input_.reset(new StreamMixerAlsaInput(
|
| - this, config_.samples_per_second, backend_->Primary()));
|
| + this, config_.samples_per_second, backend_->Primary(), backend_->Name()));
|
| mixer_input_->SetVolumeMultiplier(volume_multiplier_);
|
| // Create decoder_ if necessary. This can happen if Stop() was called, and
|
| // SetConfig() was not called since then.
|
| @@ -229,8 +229,9 @@ bool AudioDecoderAlsa::SetConfig(const AudioConfig& config) {
|
| // Destroy the old input first to ensure that the mixer output sample rate
|
| // is updated.
|
| mixer_input_.reset();
|
| - mixer_input_.reset(new StreamMixerAlsaInput(
|
| - this, config.samples_per_second, backend_->Primary()));
|
| + mixer_input_.reset(new StreamMixerAlsaInput(this, config.samples_per_second,
|
| + backend_->Primary(),
|
| + backend_->Name()));
|
| mixer_input_->SetVolumeMultiplier(volume_multiplier_);
|
| pending_output_frames_ = kNoPendingOutput;
|
| }
|
|
|