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

Unified Diff: media/audio/audio_io.h

Issue 12611030: Remove unused parameter to OnError() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits + rebase Created 7 years, 9 months 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/audio_input_unittest.cc ('k') | media/audio/audio_low_latency_input_output_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_io.h
diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h
index a1978a692aea10acd6435690b4d4b5db0bfc6fed..0f3f67379fb8278ef1c54142ff8a43275e9067c0 100644
--- a/media/audio/audio_io.h
+++ b/media/audio/audio_io.h
@@ -70,9 +70,8 @@ class MEDIA_EXPORT AudioOutputStream {
// There was an error while playing a buffer. Audio source cannot be
// destroyed yet. No direct action needed by the AudioStream, but it is
// a good place to stop accumulating sound data since is is likely that
- // playback will not continue. |code| is an error code that is platform
- // specific.
- virtual void OnError(AudioOutputStream* stream, int code) = 0;
+ // playback will not continue.
+ virtual void OnError(AudioOutputStream* stream) = 0;
// Will block until the client has written its audio data or 1.5 seconds
// have elapsed.
@@ -129,9 +128,8 @@ class MEDIA_EXPORT AudioInputStream {
// There was an error while recording audio. The audio sink cannot be
// destroyed yet. No direct action needed by the AudioInputStream, but it
// is a good place to stop accumulating sound data since is is likely that
- // recording will not continue. |code| is an error code that is platform
- // specific.
- virtual void OnError(AudioInputStream* stream, int code) = 0;
+ // recording will not continue.
+ virtual void OnError(AudioInputStream* stream) = 0;
protected:
virtual ~AudioInputCallback() {}
« no previous file with comments | « media/audio/audio_input_unittest.cc ('k') | media/audio/audio_low_latency_input_output_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698