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

Unified Diff: ppapi/thunk/ppb_instance_api.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: ppapi/thunk/ppb_instance_api.h
===================================================================
--- ppapi/thunk/ppb_instance_api.h (revision 120806)
+++ ppapi/thunk/ppb_instance_api.h (working copy)
@@ -9,6 +9,7 @@
#include "ppapi/c/dev/ppb_gamepad_dev.h"
#include "ppapi/c/dev/ppb_url_util_dev.h"
#include "ppapi/c/pp_completion_callback.h"
+#include "ppapi/c/ppb_audio_config.h"
#include "ppapi/c/ppb_instance.h"
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_size.h"
@@ -43,6 +44,10 @@
PP_Var script,
PP_Var* exception) = 0;
+ // Audio.
+ virtual uint32_t AudioHardwareOutputSampleRate(PP_Instance instance) = 0;
+ virtual uint32_t AudioHardwareOutputBufferSize(PP_Instance instance) = 0;
+
// CharSet.
virtual PP_Var GetDefaultCharSet(PP_Instance instance) = 0;

Powered by Google App Engine
This is Rietveld 408576698