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

Unified Diff: content/renderer/pepper/pepper_platform_audio_input_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_input_impl.h
diff --git a/content/renderer/pepper/pepper_platform_audio_input_impl.h b/content/renderer/pepper/pepper_platform_audio_input_impl.h
index 4df6eb9c4718dccba2f4999873ca01103f81c9d7..f9f08f17f56e5e6f941e1f42c869bbd44a1b3f04 100644
--- a/content/renderer/pepper/pepper_platform_audio_input_impl.h
+++ b/content/renderer/pepper/pepper_platform_audio_input_impl.h
@@ -11,7 +11,7 @@
#include "content/renderer/media/audio_input_message_filter.h"
#include "webkit/plugins/ppapi/plugin_delegate.h"
-struct AudioParameters;
+class AudioParameters;
class PepperPlatformAudioInputImpl
: public webkit::ppapi::PluginDelegate::PlatformAudioInput,
@@ -23,8 +23,8 @@ class PepperPlatformAudioInputImpl
// Factory function, returns NULL on failure. StreamCreated() will be called
// when the stream is created.
static PepperPlatformAudioInputImpl* Create(
- uint32_t sample_rate,
- uint32_t sample_count,
+ int sample_rate,
+ int frames_per_buffer,
webkit::ppapi::PluginDelegate::PlatformAudioCommonClient* client);
// PlatformAudioInput implementation (called on main thread).
@@ -36,8 +36,8 @@ class PepperPlatformAudioInputImpl
PepperPlatformAudioInputImpl();
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.
« no previous file with comments | « content/renderer/media/webrtc_audio_device_unittest.cc ('k') | content/renderer/pepper/pepper_platform_audio_input_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698