Esempio n. 1
0
 public static FMOD.Studio.Bus GetBus(string path)
 {
     FMOD.Studio.Bus bus;
     if (StudioSystem.getBus(path, out bus) != FMOD.RESULT.OK)
     {
         throw new BusNotFoundException(path);
     }
     return(bus);
 }
Esempio n. 2
0
 public static FMOD.Studio.Bus GetBus(String path)
 {
     FMOD.RESULT     result;
     FMOD.Studio.Bus bus;
     result = StudioSystem.getBus(path, out bus);
     if (result != FMOD.RESULT.OK)
     {
     }
     return(bus);
 }
Esempio n. 3
0
 public static void MuteAllEvents(bool muted)
 {
     if (HasBanksLoaded)
     {
         FMOD.Studio.Bus masterBus;
         if (StudioSystem.getBus("bus:/", out masterBus) == FMOD.RESULT.OK)
         {
             masterBus.setMute(muted);
         }
     }
 }
 public static FMOD.Studio.Bus GetBus(String path)
 {
     FMOD.RESULT result;
     FMOD.Studio.Bus bus;
     result = StudioSystem.getBus(path, out bus);
     if (result != FMOD.RESULT.OK)
     {
         throw new BusNotFoundException(path);
     }
     return bus;
 }