Esempio n. 1
0
        public AudioRenderSystem(AudioRendererManager manager, IWritableEvent systemEvent)
        {
            _manager            = manager;
            _terminationEvent   = new ManualResetEvent(false);
            _dspMemoryPoolState = MemoryPoolState.Create(MemoryPoolState.LocationType.Dsp);
            _voiceContext       = new VoiceContext();
            _mixContext         = new MixContext();
            _sinkContext        = new SinkContext();
            _splitterContext    = new SplitterContext();
            _effectContext      = new EffectContext();

            _commandProcessingTimeEstimator = null;
            _systemEvent      = systemEvent;
            _behaviourContext = new BehaviourContext();

            _totalElapsedTicksUpdating = 0;
            _sessionId = 0;
        }
Esempio n. 2
0
 public ulong GetWorkBufferSize(ref AudioRendererConfiguration parameter)
 {
     return(AudioRendererManagerImpl.GetWorkBufferSize(ref parameter));
 }
Esempio n. 3
0
 public AudioRendererManager(AudioRendererManagerImpl impl, VirtualDeviceSessionRegistry registry)
 {
     _impl     = impl;
     _registry = registry;
 }