NScumm.Sky.Music.MusicBase.StopMusicInternal C# (CSharp) Method

StopMusicInternal() protected method

protected StopMusicInternal ( ) : void
return void
        protected void StopMusicInternal()
        {
            _mixer.StopHandle(_musicHandle);

            lock (_mutex)
            {

                for (byte cnt = 0; cnt < _numberOfChannels; cnt++)
                {
                    _channels[cnt].Dispose();
                    _channels[cnt] = null;
                }
                _numberOfChannels = 0;
            }
        }