Esempio n. 1
0
        public bool Create(ISoundSystem AudioSystem)
        {
            if (AudioSystem is FMOD_SoundSystem)
            {
                m_system  = AudioSystem as FMOD_SoundSystem;
                m_status  = StreamStatus.Created;
                m_sound   = null;
                m_channel = null;

                Console.WriteLine("[FMOD] SoundStream created");
            }
            else
            {
                throw new NotSupportedException("Create SoundSystem");
            }



            return(true);
        }
Esempio n. 2
0
 public bool Create(SoundSystemConfig config)
 {
     system = new FMOD_SoundSystem();
     return(system.Create(config));
 }