MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / pause

Function pause

TheForceEngine/TFE_Audio/midiPlayer.cpp:275–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273 }
274
275 void pause()
276 {
277 SDL_LockMutex(s_midiThreadMutex);
278 MidiCmd* midiCmd = midiAllocCmd();
279 if (midiCmd)
280 {
281 midiCmd->cmd = MIDI_PAUSE;
282 }
283 SDL_UnlockMutex(s_midiThreadMutex);
284 }
285
286 void resume()
287 {

Callers 2

pauseLevelSoundFunction · 0.50
configSoundFunction · 0.50

Calls 1

midiAllocCmdFunction · 0.85

Tested by

no test coverage detected