public void Prepare(SessionContext context)
        {
            _timer.Reset();

            _desync           = new DesyncCalculator();
            PlaybackRate      = 1;
            _totalSamplesRead = 0;

            _upstream.Prepare(context);
        }
        public void Prepare(SessionContext context)
        {
            _timer.Reset();

            _desync               = new DesyncCalculator();
            PlaybackRate          = 1;
            _totalSamplesRead     = 0;
            _aheadWarningLastSent = TimeSpan.FromSeconds(0);

            _upstream.Prepare(context);
        }
 public void Prepare(SessionContext context)
 {
     _upstream.Prepare(context);
 }
Esempio n. 4
0
 /// <summary>
 /// Prepare the pipeline to begin playing a new stream of audio
 /// </summary>
 /// <param name="context"></param>
 public void Prepare(SessionContext context)
 {
     _output.Prepare(context);
 }
Esempio n. 5
0
        /// <summary>
        /// Prepare the pipeline to begin playing a new stream of audio
        /// </summary>
        /// <param name="context"></param>
        public void Prepare(SessionContext context)
        {
            _output.Prepare(context);

            _prepared = true;
        }
Esempio n. 6
0
 public void Prepare(SessionContext context)
 {
     _source.Prepare(context);
 }