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

Unified Diff: content/browser/renderer_host/media/audio_renderer_host.h

Issue 11359196: Associate audio streams with their source/destination RenderView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Plus, removed CalledOnValidThread DCHECK from sampleRate() call since nothing mutates. Created 8 years 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: content/browser/renderer_host/media/audio_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h
index 43e9395ac50ff90293b55f24cda1c8a1e59c78cf..44daef21f836cf0ee8da944de1d83fab60b04799 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_renderer_host.h
@@ -106,6 +106,10 @@ class CONTENT_EXPORT AudioRendererHost
const media::AudioParameters& params,
int input_channels);
+ // Track that the data for the audio stream referenced by |stream_id| is
+ // produced by an entity in the render view referenced by |render_view_id|.
+ void OnAssociateStreamWithProducer(int stream_id, int render_view_id);
+
// Play the audio stream referenced by |stream_id|.
void OnPlayStream(int stream_id);

Powered by Google App Engine
This is Rietveld 408576698