| 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 d910d3ca8179a8340dbb6482989f30bff31de1e1..a83d6a45a13caf64f0f5db535da7c40304d055c0 100644
|
| --- a/chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc
|
| +++ b/chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc
|
| @@ -108,9 +108,8 @@
|
| TRACE_FUNCTION_ENTRY0();
|
| current_pts_ = start_pts;
|
| DCHECK(IsValidConfig(config_));
|
| - mixer_input_.reset(new StreamMixerAlsaInput(this, config_.samples_per_second,
|
| - backend_->Primary(),
|
| - backend_->DeviceId()));
|
| + mixer_input_.reset(new StreamMixerAlsaInput(
|
| + this, config_.samples_per_second, backend_->Primary()));
|
| mixer_input_->SetVolumeMultiplier(volume_multiplier_);
|
| // Create decoder_ if necessary. This can happen if Stop() was called, and
|
| // SetConfig() was not called since then.
|
| @@ -230,9 +229,8 @@
|
| // 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(),
|
| - backend_->DeviceId()));
|
| + mixer_input_.reset(new StreamMixerAlsaInput(
|
| + this, config.samples_per_second, backend_->Primary()));
|
| mixer_input_->SetVolumeMultiplier(volume_multiplier_);
|
| pending_output_frames_ = kNoPendingOutput;
|
| }
|
|
|