Index: content/renderer/pepper/pepper_platform_audio_output_impl.h |
diff --git a/content/renderer/pepper/pepper_platform_audio_output_impl.h b/content/renderer/pepper/pepper_platform_audio_output_impl.h |
index 3b426adbf7a6fe1d7b2e8989b9c3ad37f3ef1b41..75d3517c8e65a9e8a50f334e89428e634b9e12c9 100644 |
--- a/content/renderer/pepper/pepper_platform_audio_output_impl.h |
+++ b/content/renderer/pepper/pepper_platform_audio_output_impl.h |
@@ -10,6 +10,8 @@ |
#include "content/renderer/media/audio_message_filter.h" |
#include "webkit/plugins/ppapi/plugin_delegate.h" |
+class RenderViewImpl; |
+ |
namespace media{ |
class AudioParameters; |
} |
@@ -28,6 +30,7 @@ class PepperPlatformAudioOutputImpl |
// Factory function, returns NULL on failure. StreamCreated() will be called |
// when the stream is created. |
static PepperPlatformAudioOutputImpl* Create( |
+ RenderViewImpl* render_view, |
int sample_rate, |
int frames_per_buffer, |
webkit::ppapi::PluginDelegate::PlatformAudioOutputClient* client); |
@@ -52,6 +55,7 @@ class PepperPlatformAudioOutputImpl |
PepperPlatformAudioOutputImpl(); |
bool Initialize( |
+ RenderViewImpl* render_view, |
int sample_rate, |
int frames_per_buffer, |
webkit::ppapi::PluginDelegate::PlatformAudioOutputClient* client); |
@@ -62,6 +66,8 @@ class PepperPlatformAudioOutputImpl |
void StopPlaybackOnIOThread(); |
void ShutDownOnIOThread(); |
+ RenderViewImpl* render_view_; |
+ |
// The client to notify when the stream is created. THIS MUST ONLY BE |
// ACCESSED ON THE MAIN THREAD. |
webkit::ppapi::PluginDelegate::PlatformAudioOutputClient* client_; |