equal
deleted
inserted
replaced
1241 void CMMFDevSoundAdaptation::CBody::BufferErrorEvent() |
1241 void CMMFDevSoundAdaptation::CBody::BufferErrorEvent() |
1242 { |
1242 { |
1243 ASSERT(iDevAudio); |
1243 ASSERT(iDevAudio); |
1244 iDevAudio->GetAudioControl()->BufferErrorEvent(); |
1244 iDevAudio->GetAudioControl()->BufferErrorEvent(); |
1245 } |
1245 } |
|
1246 |
|
1247 void CMMFDevSoundAdaptation::CBody::RollbackAdaptorActiveStateToBeforeCommit() |
|
1248 { |
|
1249 DP_CONTEXT(CMMFDevSoundAdaptation::CBody::RollbackAdaptorActiveStateToBeforeCommit *CD1*, CtxDevSound, DPLOCAL); |
|
1250 DP_IN(); |
|
1251 TDevSoundAdaptorState previousState = iDevAudio->PreviousState(); |
|
1252 // Set previous state to the active state set after state changing Commit call |
|
1253 iDevAudio->SetPreviousState(iDevAudio->ActiveState()); |
|
1254 // Set active state to the previous state set before state changing Commit call |
|
1255 iDevAudio->SetActiveState(previousState); |
|
1256 DP_OUT(); |
|
1257 } |