MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Sound_Stop

Method Sound_Stop

Source/Amiga/Sound_Amiga.cpp:273–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273void cSound_Amiga::Sound_Stop() {
274
275 if (SDL_LockMutex( mLock ) == 0) {
276
277 for (auto& SfxIT : mCurrentSfx) {
278
279 delete SfxIT;
280 SfxIT = 0;
281 }
282
283 //mCurrentSfx.clear();
284
285 SDL_UnlockMutex(mLock);
286 }
287}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected