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

Unified Diff: ppapi/thunk/ppb_audio_input_trusted_thunk.cc

Issue 9557007: PPB_AudioInput_Dev: support multiple audio input devices - Part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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: ppapi/thunk/ppb_audio_input_trusted_thunk.cc
diff --git a/ppapi/thunk/ppb_audio_input_trusted_thunk.cc b/ppapi/thunk/ppb_audio_input_trusted_thunk.cc
index ac9f0bb624557af90c307a63104e66c9500651eb..b17e1bde18b6dacbc2d1021d684109c1bd233a65 100644
--- a/ppapi/thunk/ppb_audio_input_trusted_thunk.cc
+++ b/ppapi/thunk/ppb_audio_input_trusted_thunk.cc
@@ -20,7 +20,7 @@ PP_Resource Create(PP_Instance instance_id) {
EnterFunction<ResourceCreationAPI> enter(instance_id, true);
if (enter.failed())
return 0;
- return enter.functions()->CreateAudioInputTrusted(instance_id);
+ return enter.functions()->CreateAudioInput(instance_id);
}
int32_t Open(PP_Resource audio_id,
@@ -29,7 +29,7 @@ int32_t Open(PP_Resource audio_id,
EnterAudioInput enter(audio_id, callback, true);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->OpenTrusted(config_id, callback));
+ return enter.SetResult(enter.object()->OpenTrusted("", config_id, callback));
}
int32_t GetSyncSocket(PP_Resource audio_id, int* sync_socket) {

Powered by Google App Engine
This is Rietveld 408576698