public Channel Play(Sound sound, Vector3 pos, bool loop) { FMOD.Channel channel = null; FMOD.RESULT result; result = system.playSound(FMOD.CHANNELINDEX.FREE, ((FmodSound)sound).sound, true, ref channel); ERRCHECK(result); FmodChannel c = new FmodChannel(channel); SetPosition(c, pos); if (loop) channel.setLoopCount(-1); channel.setPaused(false); return c; }
public Channel Play(Sound sound, Vector3 pos, bool loop) { return new DummyChannel(); }
public void Free(Sound sound) { FMOD.RESULT result = ((FmodSound)sound).sound.release(); ERRCHECK(result); ((FmodSound)sound).sound = null; }
public void Free(Sound sound) { }