--- a/devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp Thu Sep 16 18:39:58 2010 +0100
+++ b/devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp Thu Sep 16 18:57:38 2010 +0100
@@ -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);
+ }
+
}
// ---------------------------------------------------------