| Index: media/audio/android/audio_manager_android.cc
|
| diff --git a/media/audio/android/audio_manager_android.cc b/media/audio/android/audio_manager_android.cc
|
| index 81264b51d511602f1b9d12fcd53f39b326ad56cb..f34c2c4a1336164c6e0f0841c7913c1370cf5175 100644
|
| --- a/media/audio/android/audio_manager_android.cc
|
| +++ b/media/audio/android/audio_manager_android.cc
|
| @@ -42,24 +42,24 @@ void AudioManagerAndroid::UnMuteAll() {
|
|
|
| AudioOutputStream* AudioManagerAndroid::MakeLinearOutputStream(
|
| const AudioParameters& params) {
|
| - DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format);
|
| + DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format());
|
| return AudioTrackOutputStream::MakeStream(params);
|
| }
|
|
|
| AudioOutputStream* AudioManagerAndroid::MakeLowLatencyOutputStream(
|
| const AudioParameters& params) {
|
| - DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format);
|
| + DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format());
|
| return AudioTrackOutputStream::MakeStream(params);
|
| }
|
|
|
| AudioInputStream* AudioManagerAndroid::MakeLinearInputStream(
|
| const AudioParameters& params, const std::string& device_id) {
|
| - DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format);
|
| + DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format());
|
| return FakeAudioInputStream::MakeFakeStream(this, params);
|
| }
|
|
|
| AudioInputStream* AudioManagerAndroid::MakeLowLatencyInputStream(
|
| const AudioParameters& params, const std::string& device_id) {
|
| - DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format);
|
| + DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format());
|
| return FakeAudioInputStream::MakeFakeStream(this, params);
|
| }
|
|
|