diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 23:18:48 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 23:18:48 +0000 |
commit | 2f6d086da79c737bc2a0ee3023ca80c608c75d19 (patch) | |
tree | 6943204cb1c9c7d7cbe722f91a64a1c326601fef /media/audio/fake_audio_input_stream_unittest.cc | |
parent | 87949cc2b85979964ca9de9483ba1ba2758e0b81 (diff) | |
download | chromium_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/fake_audio_input_stream_unittest.cc')
-rw-r--r-- | media/audio/fake_audio_input_stream_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/fake_audio_input_stream_unittest.cc b/media/audio/fake_audio_input_stream_unittest.cc index 473ed10..eee8c92 100644 --- a/media/audio/fake_audio_input_stream_unittest.cc +++ b/media/audio/fake_audio_input_stream_unittest.cc @@ -41,7 +41,7 @@ TEST(FakeAudioInputTest, BasicCallbacks) { ASSERT_TRUE(NULL != audio_man); // Ask for one recorded packet every 50ms. AudioInputStream* stream = audio_man->MakeAudioInputStream( - AudioManager::AUDIO_MOCK, 2, 8000, 8, 400); + AudioParameters(AudioParameters::AUDIO_MOCK, 2, 8000, 8), 400); ASSERT_TRUE(NULL != stream); EXPECT_TRUE(stream->Open()); stream->Start(&callback); |