| Index: media/audio/audio_input_controller.cc
|
| diff --git a/media/audio/audio_input_controller.cc b/media/audio/audio_input_controller.cc
|
| index 14d3bbae0e86f267d74f3dc10c1cbd26d6192eda..a8e08a8b1ea652e4c02bb4d9da936a25b2140a82 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
|
|
|