diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-17 22:55:30 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-17 22:55:30 +0000 |
commit | 0ac8fd43e07da4da1eb75eec56dfb60b6c8586f0 (patch) | |
tree | d357e1b4f686e703069da6fc98a3d56ec61c61a2 /webkit/plugins/ppapi/resource_creation_impl.h | |
parent | f21cf6a82c8f4641a93618b60d107369c92fc0ae (diff) | |
download | chromium_src-0ac8fd43e07da4da1eb75eec56dfb60b6c8586f0.zip chromium_src-0ac8fd43e07da4da1eb75eec56dfb60b6c8586f0.tar.gz chromium_src-0ac8fd43e07da4da1eb75eec56dfb60b6c8586f0.tar.bz2 |
Microphone support for Pepper Flash.
[Committing for pbrophy@adobe.com. Original review:
http://codereview.chromium.org/8138008/ .]
This change supports audio capture from the microphone and supplies the data
through a Pepper interface. Its enumeration is limited to the default audio
device that uses mono 44.1kHz.
TBR=tony@chromium.org
Review URL: http://codereview.chromium.org/8574029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110587 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/resource_creation_impl.h')
-rw-r--r-- | webkit/plugins/ppapi/resource_creation_impl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/resource_creation_impl.h b/webkit/plugins/ppapi/resource_creation_impl.h index a769a8e..a7a1e44 100644 --- a/webkit/plugins/ppapi/resource_creation_impl.h +++ b/webkit/plugins/ppapi/resource_creation_impl.h @@ -29,10 +29,16 @@ class ResourceCreationImpl : public ::ppapi::FunctionGroupBase, PP_Resource config_id, PPB_Audio_Callback audio_callback, void* user_data) OVERRIDE; - virtual PP_Resource CreateAudioTrusted(PP_Instance instace) OVERRIDE; + virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; virtual PP_Resource CreateAudioConfig(PP_Instance instance, PP_AudioSampleRate sample_rate, uint32_t sample_frame_count) OVERRIDE; + virtual PP_Resource CreateAudioInput( + PP_Instance instance, + PP_Resource config_id, + PPB_AudioInput_Callback audio_input_callback, + void* user_data) OVERRIDE; + virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) OVERRIDE; |