| 108 | } |
| 109 | |
| 110 | void cSound_PC::MixerChannelFinished( int32 pChannel ) { |
| 111 | |
| 112 | for (std::vector<sChunkPlaying>::iterator ChannelIT = mMixerChunks.begin(); ChannelIT != mMixerChunks.end(); ++ChannelIT) { |
| 113 | |
| 114 | if (ChannelIT->mChannel == pChannel) { |
| 115 | Mix_FreeChunk( ChannelIT->mCurrentChunk ); |
| 116 | |
| 117 | mMixerChunks.erase( ChannelIT ); |
| 118 | return; |
| 119 | } |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | void cSound_PC::Sound_Play( int16 pTileset, int16 pSoundEffect, int16 pVolume, int16 pIndex) { |
| 124 | sChunkPlaying Playing; |
no test coverage detected