--- 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);
+ }
+
}
// ---------------------------------------------------------