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

Unified Diff: trunk/src/content/renderer/media/webrtc_audio_device_impl.h

Issue 195763008: Revert 255158 "Avoid hitting the thread check when WebRtcAudioRe..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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
Index: trunk/src/content/renderer/media/webrtc_audio_device_impl.h
===================================================================
--- trunk/src/content/renderer/media/webrtc_audio_device_impl.h (revision 256663)
+++ trunk/src/content/renderer/media/webrtc_audio_device_impl.h (working copy)
@@ -240,15 +240,9 @@
class Sink {
public:
// Callback to get the playout data.
- // Called on the render audio thread.
virtual void OnPlayoutData(media::AudioBus* audio_bus,
int sample_rate,
int audio_delay_milliseconds) = 0;
-
- // Callback to notify the sink that the source has changed.
- // Called on the main render thread.
- virtual void OnPlayoutDataSourceChanged() = 0;
-
protected:
virtual ~Sink() {}
};

Powered by Google App Engine
This is Rietveld 408576698