Beispiel #1
0
        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>();
        }
Beispiel #2
0
 public XA2Source(XA2Engine engine)
 {
     _engine = engine;
 }
Beispiel #3
0
 public XA2Submixer(XA2Engine engine)
 {
     _engine       = engine;
     SubMixerVoice = new SubmixVoice(_engine.Device);
 }
Beispiel #4
0
 public XA2Source(XA2Engine engine, XA2Submixer submixer)
 {
     _engine   = engine;
     _submixer = submixer;
 }
Beispiel #5
0
 public XA2Submixer(XA2Engine engine)
 {
     _engine       = engine;
     SubMixerVoice = _engine.Device.CreateSubmixVoice();
 }