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

Unified Diff: content/renderer/pepper/pepper_platform_audio_output_impl.h

Issue 9655018: Make AudioParameters a class instead of a struct (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright years Created 8 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: 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 5c1180540d9499bcf2d1c3d06f7a9a62e6f3b546..cdba240e22b46f1df106823d95dc96ddc39d46c1 100644
--- a/content/renderer/pepper/pepper_platform_audio_output_impl.h
+++ b/content/renderer/pepper/pepper_platform_audio_output_impl.h
@@ -10,7 +10,7 @@
#include "content/renderer/media/audio_message_filter.h"
#include "webkit/plugins/ppapi/plugin_delegate.h"
-struct AudioParameters;
+class AudioParameters;
namespace base {
class MessageLoopProxy;
@@ -26,8 +26,8 @@ class PepperPlatformAudioOutputImpl
// Factory function, returns NULL on failure. StreamCreated() will be called
// when the stream is created.
static PepperPlatformAudioOutputImpl* Create(
- uint32_t sample_rate,
- uint32_t sample_count,
+ int sample_rate,
+ int frames_per_buffer,
webkit::ppapi::PluginDelegate::PlatformAudioCommonClient* client);
// PlatformAudioOutput implementation (called on main thread).
@@ -39,8 +39,8 @@ class PepperPlatformAudioOutputImpl
PepperPlatformAudioOutputImpl();
bool Initialize(
- uint32_t sample_rate,
- uint32_t sample_count,
+ int sample_rate,
+ int frames_per_buffer,
webkit::ppapi::PluginDelegate::PlatformAudioCommonClient* client);
// I/O thread backends to above functions.

Powered by Google App Engine
This is Rietveld 408576698