Exemple #1
0
 internal eMusic(string id, string path, eSoundEngine engine)
 {
     this.engine = engine;
     this.id     = id;
     this.path   = path;
     eUtils.fmodCheck(this.engine.fmod.createStream(this.path, MODE.DEFAULT, out Sound handle));
     this.handle = handle;
 }
Exemple #2
0
 internal eSound(string id, string path, eSoundEngine engine)
 {
     this.engine = engine;
     this.id     = id;
     this.path   = path;
     eUtils.fmodCheck(this.engine.fmod.createSound(this.path, MODE.DEFAULT, out Sound handle));
     this.handle    = handle;
     this.instances = new List <eInstance>();
 }
        internal eInstance(Channel handle, eSoundEngine engine)
        {
            this.engine = engine;
            this.handle = handle;
            eUtils.fmodCheck(engine.fmod.createDSPByPlugin(engine.oculusSourcePluginHandle, out DSP sourceDSP));
            this.oculusSourceDSP = sourceDSP;
            this.is3d            = true;

            this.reflections = false;
            this.paused      = true;
            this.loop        = loopMode.noLoop;
        }
 internal eListener(eSoundEngine engine)
 {
     this.engine = engine;
 }
Exemple #5
0
 internal eInstanceGroup(ChannelGroup handle, string name, eSoundEngine engine)
 {
     this.handle = handle;
     this.name   = name;
     this.engine = engine;
 }
 internal eRoom(eSoundEngine engine)
 {
     this.engine = engine;
 }