summaryrefslogtreecommitdiffstats
path: root/media/audio/simple_sources_unittest.cc
diff options
context:
space:
mode:
authorsatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 20:11:04 +0000
committersatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 20:11:04 +0000
commitd3dd31fb151f067389f3423ee6de09f8c5251ed9 (patch)
tree9d71cc5598bdfad7b3c0b7398002c5f4895ad1a1 /media/audio/simple_sources_unittest.cc
parent1ff23609a28bf25c97219b29e1ca3ca5b0d5c699 (diff)
downloadchromium_src-d3dd31fb151f067389f3423ee6de09f8c5251ed9.zip
chromium_src-d3dd31fb151f067389f3423ee6de09f8c5251ed9.tar.gz
chromium_src-d3dd31fb151f067389f3423ee6de09f8c5251ed9.tar.bz2
Rename a header and some methods to make way for subsequent audio recording additions.
Renaming audio_output.h to audio_io.h as future patches will add audio recording code to this file. Also renamed a couple of methods to make it clear that these are for audio playback/output and similar methods will be added for audio capture/recording soon. BUG=none TEST=no change in functionality. Review URL: http://codereview.chromium.org/2962006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52125 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/simple_sources_unittest.cc')
-rw-r--r--media/audio/simple_sources_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/audio/simple_sources_unittest.cc b/media/audio/simple_sources_unittest.cc
index 118ec6f..7ddc23f 100644
--- a/media/audio/simple_sources_unittest.cc
+++ b/media/audio/simple_sources_unittest.cc
@@ -76,9 +76,9 @@ TEST(SimpleSources, SineWaveAudio16MonoTest) {
AudioManager* audio_man = AudioManager::GetAudioManager();
ASSERT_TRUE(NULL != audio_man);
AudioOutputStream* oas =
- audio_man->MakeAudioStream(AudioManager::AUDIO_MOCK, 1,
- AudioManager::kTelephoneSampleRate,
- bytes_per_sample * 2);
+ audio_man->MakeAudioOutputStream(AudioManager::AUDIO_MOCK, 1,
+ AudioManager::kTelephoneSampleRate,
+ bytes_per_sample * 2);
ASSERT_TRUE(NULL != oas);
EXPECT_TRUE(oas->Open(samples * bytes_per_sample));