summaryrefslogtreecommitdiffstats
path: root/media/audio/test_audio_input_controller_factory.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 23:18:48 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 23:18:48 +0000
commit2f6d086da79c737bc2a0ee3023ca80c608c75d19 (patch)
tree6943204cb1c9c7d7cbe722f91a64a1c326601fef /media/audio/test_audio_input_controller_factory.cc
parent87949cc2b85979964ca9de9483ba1ba2758e0b81 (diff)
downloadchromium_src-2f6d086da79c737bc2a0ee3023ca80c608c75d19.zip
chromium_src-2f6d086da79c737bc2a0ee3023ca80c608c75d19.tar.gz
chromium_src-2f6d086da79c737bc2a0ee3023ca80c608c75d19.tar.bz2
Add AudioParameters struct. Use it everywhere.
BUG=None TEST=unittests Review URL: http://codereview.chromium.org/3226012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58097 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/test_audio_input_controller_factory.cc')
-rw-r--r--media/audio/test_audio_input_controller_factory.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/media/audio/test_audio_input_controller_factory.cc b/media/audio/test_audio_input_controller_factory.cc
index c56afd8..99980bf 100644
--- a/media/audio/test_audio_input_controller_factory.cc
+++ b/media/audio/test_audio_input_controller_factory.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -25,10 +25,7 @@ TestAudioInputControllerFactory::TestAudioInputControllerFactory()
AudioInputController* TestAudioInputControllerFactory::Create(
AudioInputController::EventHandler* event_handler,
- AudioManager::Format format,
- int channels,
- int sample_rate,
- int bits_per_sample,
+ AudioParameters params,
int samples_per_packet) {
DCHECK(!controller_); // Only one test instance managed at a time.
controller_ = new TestAudioInputController(this, event_handler);