public XA23DEngine(XA2Engine engine) { _engine = engine; _x3DListener = new Listener(); _x3DListener.OrientTop = new RawVector3(0, 0, 1); _x3DListener.OrientFront = new RawVector3(0, 1, 0); Speakers channels = (Speakers)_engine.MasterVoice.ChannelMask; _x3DAudio = new X3DAudio(channels); _x3DEmitters = new Dictionary <AudioSource, Emitter>(); }
public XA2Source(XA2Engine engine) { _engine = engine; }
public XA2Submixer(XA2Engine engine) { _engine = engine; SubMixerVoice = new SubmixVoice(_engine.Device); }
public XA2Source(XA2Engine engine, XA2Submixer submixer) { _engine = engine; _submixer = submixer; }
public XA2Submixer(XA2Engine engine) { _engine = engine; SubMixerVoice = _engine.Device.CreateSubmixVoice(); }