devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp
changeset 54 b68f3e90dca1
parent 13 efebd1779a59
--- a/devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp	Thu Sep 02 22:02:55 2010 +0300
+++ b/devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp	Fri Sep 17 08:37:57 2010 +0300
@@ -192,7 +192,14 @@
 	{
 	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);
+		}
+	
 	}
 
 // ---------------------------------------------------------