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

Unified Diff: webkit/plugins/ppapi/ppb_audio_impl.h

Issue 10832285: Switch OnMoreData() to use AudioBus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments. Use actual frame count for PPAPI. Created 8 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: webkit/plugins/ppapi/ppb_audio_impl.h
diff --git a/webkit/plugins/ppapi/ppb_audio_impl.h b/webkit/plugins/ppapi/ppb_audio_impl.h
index be41e3600662260cea4fd48f00284fe376046926..9f9c35bb84936bffe07882f25dfdeb187b2d1d3d 100644
--- a/webkit/plugins/ppapi/ppb_audio_impl.h
+++ b/webkit/plugins/ppapi/ppb_audio_impl.h
@@ -76,6 +76,9 @@ class PPB_Audio_Impl : public ::ppapi::Resource,
// own this pointer but are responsible for calling Shutdown on it.
PluginDelegate::PlatformAudioOutput* 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