devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp
branchRCL_3
changeset 40 f429a0a2075b
parent 8 bc06d8566074
child 49 735348f59235
--- a/devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp	Thu Jul 15 20:22:56 2010 +0300
+++ b/devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp	Thu Aug 19 11:23:35 2010 +0300
@@ -192,7 +192,13 @@
 	{
 	iSecureOutput = aSecureOutput;
 	TPckgC<TBool> outputPckg(aSecureOutput);
-	iCustomCommand->CustomCommandSync(iMessageHandler, EAofSetSecureOutput, outputPckg, KNullDesC8);
+	TInt err = KErrNone;
+        //ou1cimx1#454515 CAudioOutputConfigurator::SetSecureOutputL() is deprecated
+	err = iCustomCommand->CustomCommandSync(iMessageHandler, EAofSetSecureOutput, outputPckg, KNullDesC8);
+	if(err != KErrNone)
+		{
+			User::Leave(err);
+		}
 	}
 
 // ---------------------------------------------------------