Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(547)

Unified Diff: media/audio/simple_sources.cc

Issue 4661001: Simplified AudioOutputStream interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/simple_sources.h ('k') | media/audio/simple_sources_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/simple_sources.cc
diff --git a/media/audio/simple_sources.cc b/media/audio/simple_sources.cc
index 54456007189494704f62082e9491acab281982ba..df0a730a2dc27b6b7bb99f1dae76a9238e0cf041 100644
--- a/media/audio/simple_sources.cc
+++ b/media/audio/simple_sources.cc
@@ -43,9 +43,6 @@ uint32 SineWaveAudioSource::OnMoreData(
return max_size;
}
-void SineWaveAudioSource::OnClose(AudioOutputStream* stream) {
-}
-
void SineWaveAudioSource::OnError(AudioOutputStream* stream, int code) {
NOTREACHED();
}
@@ -65,10 +62,6 @@ uint32 PushSource::OnMoreData(
return buffer_.Read(dest, max_size);
}
-void PushSource::OnClose(AudioOutputStream* stream) {
- CleanUp();
-}
-
void PushSource::OnError(AudioOutputStream* stream, int code) {
NOTREACHED();
}
« no previous file with comments | « media/audio/simple_sources.h ('k') | media/audio/simple_sources_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698