| 181 | } |
| 182 | |
| 183 | void cSound_PC2::MixerChannelFinished( int32 pChannel ) { |
| 184 | |
| 185 | auto end = std::remove_if(mMixerChunks.begin(), mMixerChunks.end(), [pChannel](sChunkPlaying& a) { |
| 186 | return a.mChannel == pChannel; |
| 187 | }); |
| 188 | |
| 189 | mMixerChunks.erase(end, mMixerChunks.end()); |
| 190 | } |
| 191 | |
| 192 | void cSound_PC2::Sound_Play( int16 pTileset, int16 pSoundEffect, int16 pVolume, int16 pIndex) { |
| 193 | Mix_Chunk* chunk = 0; |
no test coverage detected