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

Unified Diff: ppapi/api/dev/ppb_audio_input_dev.idl

Issue 8981009: New Pepper interfaces for audio/video capture device enumeration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make changes in response to Trung's suggestions. Created 9 years 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 | « no previous file | ppapi/api/dev/ppb_device_enumerator_dev.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/dev/ppb_audio_input_dev.idl
diff --git a/ppapi/api/dev/ppb_audio_input_dev.idl b/ppapi/api/dev/ppb_audio_input_dev.idl
old mode 100644
new mode 100755
index 24543ae7f0c3f205d3c86ec8417804befcfa8986..4e979af13e169876947b2527ad50191123ce56ce
--- a/ppapi/api/dev/ppb_audio_input_dev.idl
+++ b/ppapi/api/dev/ppb_audio_input_dev.idl
@@ -9,7 +9,8 @@
*/
label Chrome {
- M17 = 0.1
+ M17 = 0.1,
+ M18 = 0.2
};
/**
@@ -38,6 +39,21 @@ interface PPB_AudioInput_Dev {
[inout] mem_t user_data);
/**
+ * Create is a pointer to a function that creates an audio input resource.
+ * No sound will be captured until StartCapture() is called.
+ *
+ * @param[in] device_ref A <code>PP_Resource</code> identifying an audio
+ * input device, returned by <code>PPB_DeviceEnumerator_Dev</code>.
+ */
+ [version=0.2]
+ PP_Resource Create(
+ [in] PP_Instance instance,
+ [in] PP_Resource device_ref,
+ [in] PP_Resource config,
+ [in] PPB_AudioInput_Callback audio_input_callback,
+ [inout] mem_t user_data);
+
+ /**
* IsAudioInput is a pointer to a function that determines if the given
* resource is an audio input resource.
*
« no previous file with comments | « no previous file | ppapi/api/dev/ppb_device_enumerator_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698