equal
deleted
inserted
replaced
1169 void CRadioEngineImp::MrftoRequestTunerControlComplete( TInt aError ) |
1169 void CRadioEngineImp::MrftoRequestTunerControlComplete( TInt aError ) |
1170 { |
1170 { |
1171 LOG_METHOD_AUTO; |
1171 LOG_METHOD_AUTO; |
1172 LOG_FORMAT( "aError: %d", aError ); |
1172 LOG_FORMAT( "aError: %d", aError ); |
1173 |
1173 |
1174 if ( aError == KErrNone || aError == KErrAlreadyExists ) // Tuner activated now or was already active |
1174 if ( aError == KErrNone || aError == KErrAlreadyExists || aError == -12056 ) // Tuner activated now or was already active |
1175 { |
1175 { |
1176 iRadioInitializationState = ERadioTunerControlGranted; |
1176 iRadioInitializationState = ERadioTunerControlGranted; |
1177 |
1177 |
1178 TFmTunerCapabilities tunerCaps; |
1178 TFmTunerCapabilities tunerCaps; |
1179 tunerCaps.iTunerBands = 0; |
1179 tunerCaps.iTunerBands = 0; |
1269 iRadioInitializationState = ERadioUtilitiesConstructed; |
1269 iRadioInitializationState = ERadioUtilitiesConstructed; |
1270 } |
1270 } |
1271 |
1271 |
1272 iSeekingState = RadioEngine::ERadioNotSeeking; |
1272 iSeekingState = RadioEngine::ERadioNotSeeking; |
1273 |
1273 |
1274 if ( aFrequency == 0 ) |
1274 // -12051 comes from adaptation when no stations found in scanning |
|
1275 if ( aError == -12051 || aFrequency == 0 ) |
1275 { |
1276 { |
1276 NotifyRadioEvent( ERadioEventFrequency, aError ); |
1277 NotifyRadioEvent( ERadioEventFrequency, aError ); |
1277 } |
1278 } |
1278 } |
1279 } |
1279 |
1280 |
1414 |
1415 |
1415 // --------------------------------------------------------------------------- |
1416 // --------------------------------------------------------------------------- |
1416 // |
1417 // |
1417 // --------------------------------------------------------------------------- |
1418 // --------------------------------------------------------------------------- |
1418 // |
1419 // |
1419 void CRadioEngineImp::MrpoMuteChange( TBool aMute ) |
1420 void CRadioEngineImp::MrpoMuteChange( TBool /*aMute*/ ) |
1420 { |
1421 { |
1421 LEVEL3( LOG_METHOD_AUTO ); |
1422 LEVEL3( LOG_METHOD_AUTO ); |
1422 LOG_FORMAT( "CRadioEngineImp::MrpoMuteChange muted: %d", aMute ); |
|
1423 |
|
1424 // TBool muted = iSettings->EngineSettings().IsVolMuted(); |
|
1425 // if ( !aMute != !muted ) |
|
1426 // { |
|
1427 // iSettings->RadioSetter().SetVolMuted( aMute ); |
|
1428 // NotifyRadioEvent( ERadioEventMute ); |
|
1429 // } |
|
1430 } |
1423 } |
1431 |
1424 |
1432 // --------------------------------------------------------------------------- |
1425 // --------------------------------------------------------------------------- |
1433 // |
1426 // |
1434 // --------------------------------------------------------------------------- |
1427 // --------------------------------------------------------------------------- |