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

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, 3 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
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_output.cc ('k') | content/renderer/pepper/ppb_audio_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d5b9b452396e7754a28d93330e167f169adff1bc..16837c845cdb80f6beded7252d3ffc299ad60344 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::AudioCallbackCombined& audio_callback,
void* user_data);
// Initialization function for trusted init.
bool Init(PP_Resource config_id,
- PPB_Audio_Callback user_callback,
+ const ppapi::AudioCallbackCombined& 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);
};
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_output.cc ('k') | content/renderer/pepper/ppb_audio_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698