| 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() {}
|
|
|