private SpeechSession(SessionContext context, IJitterEstimator jitter, IDecoderPipeline pipeline, DateTime now) { _context = context; _pipeline = pipeline; _creationTime = now; _jitter = jitter; }
private SpeechSession(SessionContext context, IJitterEstimator jitter, IDecoderPipeline pipeline, IRemoteChannelProvider channels, DateTime now) { _context = context; _pipeline = pipeline; _channels = channels; _creationTime = now; _jitter = jitter; _startTime = now; }
private SpeechSession(SessionContext context, IJitterEstimator jitter, IDecoderPipeline pipeline, IRemoteChannelProvider channels, DateTime now) { _context = context; _pipeline = pipeline; _channels = channels; _creationTime = now; _jitter = jitter; _minimumDelay = (float)(MinimumDelayFactor * _pipeline.InputFrameTime.TotalSeconds); Log.Debug("Created speech session with min delay={0}s", _minimumDelay); }
internal static SpeechSession Create(SessionContext context, IJitterEstimator jitter, IDecoderPipeline pipeline, IRemoteChannelProvider channels, DateTime now) { return(new SpeechSession(context, jitter, pipeline, channels, now)); }
public SynchronizerSampleSource(ISampleSource upstream, TimeSpan resetDesyncTime, IDecoderPipeline pipeline) { _upstream = upstream; _resetDesyncTime = resetDesyncTime; _pipeline = pipeline; }
internal static SpeechSession Create(SessionContext context, IJitterEstimator jitter, IDecoderPipeline pipeline, DateTime now) { return(new SpeechSession(context, jitter, pipeline, now)); }