| 60 | } |
| 61 | |
| 62 | void MockingboardCardManager::InitializeForLoadingSnapshot(void) |
| 63 | { |
| 64 | if (g_bDisableDirectSound || g_bDisableDirectSoundMockingboard) |
| 65 | return; |
| 66 | |
| 67 | if (!m_mockingboardVoice.lpDSBvoice) |
| 68 | return; |
| 69 | |
| 70 | DSVoiceStop(&m_mockingboardVoice); // Reason: 'MB voice is playing' then loading a save-state where 'no MB present' (GH#609) |
| 71 | } |
| 72 | |
| 73 | void MockingboardCardManager::MuteControl(bool mute) |
| 74 | { |
no test coverage detected