Ejemplo n.º 1
0
        public static void PlayMusic(AudioBuffer buffer)
        {
            Source s = new Source();

            s.Buffer   = buffer;
            s.Looping  = true;
            s.Relative = true;
            s.Play();
            globalSources.Add(s);
        }