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

Unified Diff: media/audio/audio_io.h

Issue 922663002: Moved the fake input stream's processing onto the audio worker thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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/BUILD.gn ('k') | media/audio/fake_audio_consumer.h » ('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 e3b5c60e471f04484df5fd0f926f51490969d26d..56392154e3229a062a77fd8b1d9ba12090558bca 100644
--- a/media/audio/audio_io.h
+++ b/media/audio/audio_io.h
@@ -56,6 +56,8 @@ class MEDIA_EXPORT AudioOutputStream {
// itself such as creating Windows or initializing COM.
class MEDIA_EXPORT AudioSourceCallback {
public:
+ virtual ~AudioSourceCallback() {}
+
// Provide more data by fully filling |dest|. The source will return
// the number of frames it filled. |total_bytes_delay| contains current
// number of bytes of delay buffered by the AudioOutputStream.
@@ -66,9 +68,6 @@ class MEDIA_EXPORT AudioOutputStream {
// a good place to stop accumulating sound data since is is likely that
// playback will not continue.
virtual void OnError(AudioOutputStream* stream) = 0;
-
- protected:
- virtual ~AudioSourceCallback() {}
};
virtual ~AudioOutputStream() {}
« no previous file with comments | « media/audio/BUILD.gn ('k') | media/audio/fake_audio_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698