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

Unified Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 9705056: PepperPlatformAudioInputImpl: support audio input device selection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
index a68ab1cce802edea26ca826df8b4a45f677f401a..acfdb635725f9586d8c2d16c1f26ed1a1835463d 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
@@ -589,11 +589,12 @@ PepperPluginDelegateImpl::CreateAudioOutput(
webkit::ppapi::PluginDelegate::PlatformAudioInput*
PepperPluginDelegateImpl::CreateAudioInput(
+ const std::string& device_id,
uint32_t sample_rate,
uint32_t sample_count,
- webkit::ppapi::PluginDelegate::PlatformAudioCommonClient* client) {
- return PepperPlatformAudioInputImpl::Create(sample_rate, sample_count,
- client);
+ webkit::ppapi::PluginDelegate::PlatformAudioInputClient* client) {
+ return PepperPlatformAudioInputImpl::Create(
+ AsWeakPtr(), device_id, sample_rate, sample_count, client);
}
// If a broker has not already been created for this plugin, creates one.

Powered by Google App Engine
This is Rietveld 408576698