summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authordalecurtis@google.com <dalecurtis@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-28 23:50:03 +0000
committerdalecurtis@google.com <dalecurtis@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-28 23:50:03 +0000
commit758b4ea6ba8cc780e7f664d4140a0ef39c59fa83 (patch)
tree6043b7d90008b746c533972dca6ed7891b3e708c /media
parent2c7cd6d2b9b4180cbf8f5067cf9c21e3c8051b73 (diff)
downloadchromium_src-758b4ea6ba8cc780e7f664d4140a0ef39c59fa83.zip
chromium_src-758b4ea6ba8cc780e7f664d4140a0ef39c59fa83.tar.gz
chromium_src-758b4ea6ba8cc780e7f664d4140a0ef39c59fa83.tar.bz2
Fix fake audio device fallback
Typo prevents fake audio device fallback from occurring in situations where audio devices are present but the parameters returned are invalid. BUG=163200 TEST=fake audio device works correctly. Review URL: https://codereview.chromium.org/11419211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/audio/audio_manager_base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/audio_manager_base.cc b/media/audio/audio_manager_base.cc
index 7b79613..eca8773 100644
--- a/media/audio/audio_manager_base.cc
+++ b/media/audio/audio_manager_base.cc
@@ -215,7 +215,7 @@ AudioOutputStream* AudioManagerBase::MakeAudioOutputStreamProxy(
#endif
scoped_refptr<AudioOutputDispatcher> dispatcher =
- new AudioOutputDispatcherImpl(this, params, close_delay);
+ new AudioOutputDispatcherImpl(this, output_params, close_delay);
output_dispatchers_[dispatcher_key] = dispatcher;
return new AudioOutputProxy(dispatcher);
#endif // defined(OS_IOS)