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

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

Issue 9129007: Work on improving PpbAudioConfig:RecommendSampleFrameCount (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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/plugin_delegate.h
===================================================================
--- webkit/plugins/ppapi/plugin_delegate.h (revision 122585)
+++ webkit/plugins/ppapi/plugin_delegate.h (working copy)
@@ -325,6 +325,12 @@
media::VideoDecodeAccelerator::Client* client,
int32 command_buffer_route_id) = 0;
+ // Get audio hardware output sample rate.
+ virtual uint32_t GetAudioHardwareOutputSampleRate() = 0;
+
+ // Get audio hardware output buffer size.
+ virtual uint32_t GetAudioHardwareOutputBufferSize() = 0;
+
// The caller is responsible for calling Shutdown() on the returned pointer
// to clean up the corresponding resources allocated during this call.
virtual PlatformAudio* CreateAudio(uint32_t sample_rate,

Powered by Google App Engine
This is Rietveld 408576698