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

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

Issue 22320004: Add a new parameter |latency| to PPB_Audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/ppb_audio_impl.h
diff --git a/content/renderer/pepper/ppb_audio_impl.h b/content/renderer/pepper/ppb_audio_impl.h
index 62a4dd275b18a93e1f6f184f3b0490b84efeff1b..c291025a39b6d969ba4d654617c2eba38dd89b7b 100644
--- a/content/renderer/pepper/ppb_audio_impl.h
+++ b/content/renderer/pepper/ppb_audio_impl.h
@@ -37,12 +37,12 @@ class PPB_Audio_Impl : public ::ppapi::Resource,
// and will return 0 on failure.
static PP_Resource Create(PP_Instance instance,
PP_Resource config_id,
- PPB_Audio_Callback audio_callback,
+ const ppapi::AudioCallback& audio_callback,
void* user_data);
// Initialization function for trusted init.
bool Init(PP_Resource config_id,
- PPB_Audio_Callback user_callback,
+ const ppapi::AudioCallback& user_callback,
void* user_data);
// Resource overrides.
@@ -73,9 +73,6 @@ class PPB_Audio_Impl : public ::ppapi::Resource,
// own this pointer but are responsible for calling Shutdown on it.
PepperPlatformAudioOutput* audio_;
- // Track frame count for passing on to PPB_Audio_Shared::SetStreamInfo().
- int sample_frame_count_;
-
DISALLOW_COPY_AND_ASSIGN(PPB_Audio_Impl);
};

Powered by Google App Engine
This is Rietveld 408576698