accessoryservices/autoaudioasy/src/cautoaudioasyservice.cpp
changeset 45 c6215323ad55
parent 35 f7565e9c9ce8
child 76 cb32bcc88bad
equal deleted inserted replaced
44:2c28af138640 45:c6215323ad55
   100     if ( aUid == KPSUidAccessoryServices && aKey == KPSAutoKeyRTPStreamingConnectionStatus )
   100     if ( aUid == KPSUidAccessoryServices && aKey == KPSAutoKeyRTPStreamingConnectionStatus )
   101         {
   101         {
   102         // Check if audio accessory has been connected
   102         // Check if audio accessory has been connected
   103         if ( ( status == KErrNone ) && ( aStatus == KErrNone ) )
   103         if ( ( status == KErrNone ) && ( aStatus == KErrNone ) )
   104             {
   104             {
   105 			if ( propValue == EUnidirectional ) // Current release supports only UniDirectional, so other key values ignored.
   105 			if ( propValue == EAudioConnectionStatusUnidirectional ) // Current release supports only UniDirectional, so other key values ignored.
   106 				{
   106 				{
   107 				TInt err;
   107 				TInt err;
   108 				switch ( iState )
   108 				switch ( iState )
   109 					{
   109 					{
   110 					case EServiceStateIdle:
   110 					case EServiceStateIdle: