| Index: media/audio/audio_input_controller.cc
|
| diff --git a/media/audio/audio_input_controller.cc b/media/audio/audio_input_controller.cc
|
| index 65095c3036e52102eb7532ce639a5ab5ed55750f..27903fa3940a8861d6e5b7d6d057dfbbf5a821c4 100644
|
| --- a/media/audio/audio_input_controller.cc
|
| +++ b/media/audio/audio_input_controller.cc
|
| @@ -43,7 +43,7 @@ scoped_refptr<AudioInputController> AudioInputController::Create(
|
| const AudioParameters& params) {
|
| DCHECK(audio_manager);
|
|
|
| - if (!params.IsValid() || (params.channels > kMaxInputChannels))
|
| + if (!params.IsValid() || (params.channels() > kMaxInputChannels))
|
| return NULL;
|
|
|
| if (factory_)
|
| @@ -76,7 +76,7 @@ scoped_refptr<AudioInputController> AudioInputController::CreateLowLatency(
|
| DCHECK(audio_manager);
|
| DCHECK(sync_writer);
|
|
|
| - if (!params.IsValid() || (params.channels > kMaxInputChannels))
|
| + if (!params.IsValid() || (params.channels() > kMaxInputChannels))
|
| return NULL;
|
|
|
| // Create the AudioInputController object and ensure that it runs on
|
|
|