devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp
changeset 58 b6dbf97aba93
parent 13 efebd1779a59
equal deleted inserted replaced
57:1cbb0d5bf7f2 58:b6dbf97aba93
   190 //
   190 //
   191 void CAudioOutputProxy::SetSecureOutputL(TBool aSecureOutput)
   191 void CAudioOutputProxy::SetSecureOutputL(TBool aSecureOutput)
   192 	{
   192 	{
   193 	iSecureOutput = aSecureOutput;
   193 	iSecureOutput = aSecureOutput;
   194 	TPckgC<TBool> outputPckg(aSecureOutput);
   194 	TPckgC<TBool> outputPckg(aSecureOutput);
   195 	iCustomCommand->CustomCommandSync(iMessageHandler, EAofSetSecureOutput, outputPckg, KNullDesC8);
   195         TInt err = KErrNone;
       
   196         //ou1cimx1#454515 CAudioOutputConfigurator::SetSecureOutputL() is deprecated
       
   197 	err = iCustomCommand->CustomCommandSync(iMessageHandler, EAofSetSecureOutput, outputPckg, KNullDesC8);
       
   198 	if(err != KErrNone)
       
   199 		{
       
   200 			User::Leave(err);
       
   201 		}
       
   202 	
   196 	}
   203 	}
   197 
   204 
   198 // ---------------------------------------------------------
   205 // ---------------------------------------------------------
   199 // CAudioOutput::RegisterObserverL
   206 // CAudioOutput::RegisterObserverL
   200 // ?implementation_description
   207 // ?implementation_description