| Index: media/audio/linux/audio_manager_linux.cc
|
| diff --git a/media/audio/linux/audio_manager_linux.cc b/media/audio/linux/audio_manager_linux.cc
|
| index faf93002c4c08157c3275fa52c5ee4785f0e88d7..c081c038242a4c5d997cabafad45a5da367780fd 100644
|
| --- a/media/audio/linux/audio_manager_linux.cc
|
| +++ b/media/audio/linux/audio_manager_linux.cc
|
| @@ -238,25 +238,25 @@ bool AudioManagerLinux::HasAnyAlsaAudioDevice(StreamType stream) {
|
|
|
| AudioOutputStream* AudioManagerLinux::MakeLinearOutputStream(
|
| const AudioParameters& params) {
|
| - DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format);
|
| + DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format());
|
| return MakeOutputStream(params);
|
| }
|
|
|
| AudioOutputStream* AudioManagerLinux::MakeLowLatencyOutputStream(
|
| const AudioParameters& params) {
|
| - DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format);
|
| + DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format());
|
| return MakeOutputStream(params);
|
| }
|
|
|
| AudioInputStream* AudioManagerLinux::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 MakeInputStream(params, device_id);
|
| }
|
|
|
| AudioInputStream* AudioManagerLinux::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 MakeInputStream(params, device_id);
|
| }
|
|
|
|
|