From a3e0815e35fcaa3d8bebde81b74f4a883488c44b Mon Sep 17 00:00:00 2001 From: "viettrungluu@chromium.org" Date: Mon, 21 Nov 2011 21:57:57 +0000 Subject: Pepper: Fix nits mentioned in review in audio input code. In particular, dmichael's comments in http://codereview.chromium.org/8574029. TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8489002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111007 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/api/trusted/ppb_audio_input_trusted_dev.idl | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'ppapi/api') diff --git a/ppapi/api/trusted/ppb_audio_input_trusted_dev.idl b/ppapi/api/trusted/ppb_audio_input_trusted_dev.idl index 860c2e3..b845ac1 100644 --- a/ppapi/api/trusted/ppb_audio_input_trusted_dev.idl +++ b/ppapi/api/trusted/ppb_audio_input_trusted_dev.idl @@ -11,10 +11,10 @@ label Chrome { }; /** - * This interface is to be used by proxy implementations. All - * functions should be called from the main thread only. The - * resource returned is an Audio input esource; most of the PPB_Audio - * interface is also usable on this resource. + * This interface is to be used by proxy implementations. All functions should + * be called from the main thread only. The resource returned is an Audio input + * resource; most of the PPB_AudioInput interface is also usable on this + * resource. */ [version=0.1, macro="PPB_AUDIO_INPUT_TRUSTED_DEV_INTERFACE"] interface PPB_AudioInputTrusted_Dev { @@ -23,11 +23,10 @@ interface PPB_AudioInputTrusted_Dev { [in] PP_Instance instance); /** - * Opens a paused audio interface, used by trusted side of proxy. - * Returns PP_ERROR_WOULD_BLOCK on success, and invokes - * the |create_callback| asynchronously to complete. - * As this function should always be invoked from the main thread, - * do not use the blocking variant of PP_CompletionCallback. + * Opens a paused audio input interface, used by trusted side of proxy. + * Returns PP_ERROR_WOULD_BLOCK on success, and invokes the |create_callback| + * asynchronously to complete. As this function should always be invoked from + * the main thread, do not use the blocking variant of PP_CompletionCallback. */ int32_t Open( [in] PP_Resource audio_input, @@ -35,7 +34,7 @@ interface PPB_AudioInputTrusted_Dev { [in] PP_CompletionCallback create_callback); /** - * Get the sync socket. Use once Open has completed. + * Get the sync socket. Use once Open has completed. * Returns PP_OK on success. */ int32_t GetSyncSocket( @@ -43,7 +42,7 @@ interface PPB_AudioInputTrusted_Dev { [out] handle_t sync_socket); /** - * Get the shared memory interface. Use once Open has completed. + * Get the shared memory interface. Use once Open has completed. * Returns PP_OK on success. */ int32_t GetSharedMemory( -- cgit v1.1