| 233 | } |
| 234 | |
| 235 | void 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 | |
| 248 | void cSound_Amiga::Music_SetVolume(int16 pChannel, int16 pVolume) { |
| 249 | if (!mCurrentMusic) |
nothing calls this directly
no outgoing calls
no test coverage detected