devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp
branchRCL_3
changeset 49 735348f59235
parent 40 f429a0a2075b
child 50 948c7f65f6d4
equal deleted inserted replaced
40:f429a0a2075b 49:735348f59235
   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 	TInt err = KErrNone;
   195 	iCustomCommand->CustomCommandSync(iMessageHandler, EAofSetSecureOutput, outputPckg, KNullDesC8);
   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 // CAudioOutput::RegisterObserverL
   199 // CAudioOutput::RegisterObserverL
   206 // ?implementation_description
   200 // ?implementation_description