devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp
branchRCL_3
changeset 40 f429a0a2075b
parent 8 bc06d8566074
child 49 735348f59235
equal deleted inserted replaced
39:3f0ddfac3ede 40:f429a0a2075b
   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 		}
   196 	}
   202 	}
   197 
   203 
   198 // ---------------------------------------------------------
   204 // ---------------------------------------------------------
   199 // CAudioOutput::RegisterObserverL
   205 // CAudioOutput::RegisterObserverL
   200 // ?implementation_description
   206 // ?implementation_description