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

Unified Diff: ppapi/c/ppb_audio.h

Issue 6711047: Fix up some types in the API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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 | « ppapi/c/pp_stdint.h ('k') | ppapi/c/ppb_core.h » ('j') | ppapi/c/ppb_core.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_audio.h
diff --git a/ppapi/c/ppb_audio.h b/ppapi/c/ppb_audio.h
index 53f58ea82de5075878876db12e2dd5b5c4064274..5abb8ecc8a4c245e7eddcc03bcb0eb02eedae86b 100644
--- a/ppapi/c/ppb_audio.h
+++ b/ppapi/c/ppb_audio.h
@@ -11,7 +11,7 @@
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
-#define PPB_AUDIO_INTERFACE "PPB_Audio;0.5"
+#define PPB_AUDIO_INTERFACE "PPB_Audio;0.6"
/**
* @file
@@ -31,7 +31,7 @@
* fill the audio buffer with data.
*/
typedef void (*PPB_Audio_Callback)(void* sample_buffer,
- size_t buffer_size_in_bytes,
+ uint32_t buffer_size_in_bytes,
void* user_data);
/**
* @}
@@ -50,8 +50,8 @@ typedef void (*PPB_Audio_Callback)(void* sample_buffer,
* A C++ example:
*
* void audio_callback(void* sample_buffer,
- * size_t buffer_size_in_bytes,
- * void* user_data) {
+ * uint32_t buffer_size_in_bytes,
+ * void* user_data) {
* ... fill in the buffer with samples ...
* }
*
« no previous file with comments | « ppapi/c/pp_stdint.h ('k') | ppapi/c/ppb_core.h » ('j') | ppapi/c/ppb_core.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698