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

Method Music_Stop

Source/Amiga/Sound_Amiga.cpp:235–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void cSound_Amiga::Music_Stop() {
236 mPlayingTrack = -1;
237 mPlayingSong = -1;
238
239 if (SDL_LockMutex( mLock ) == 0) {
240
241 delete mCurrentMusic;
242 mCurrentMusic = 0;
243
244 SDL_UnlockMutex(mLock);
245 }
246}
247
248void cSound_Amiga::Music_SetVolume(int16 pChannel, int16 pVolume) {
249 if (!mCurrentMusic)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected