Exemplo n.º 1
0
        public void Shutdown()
        {
            StopAllSounds();
            Channel.Shutdown();
            AL10.AlDeleteBuffers(buffers);
            ExitOpenAL();
            Cmd.RemoveCommand("play");
            Cmd.RemoveCommand("stopsound");
            Cmd.RemoveCommand("soundlist");
            Cmd.RemoveCommand("soundinfo");
            for (int i = 0; i < num_sfx; i++)
            {
                if (known_sfx[i].name == null)
                {
                    continue;
                }
                known_sfx[i].Clear();
            }

            num_sfx = 0;
        }