--- a/devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp Tue Aug 31 16:43:06 2010 +0300
+++ b/devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp Wed Sep 01 12:38:50 2010 +0100
@@ -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);
+ }
}
// ---------------------------------------------------------