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. |
* |