protected override void Engine_SampleRateChanged(object sender, EventArgs e) { base.Engine_SampleRateChanged(sender, e); if (FDecoder != null) FDecoder.Dispose(); FDecoder = new Decoder(AudioEngine.Instance.Settings.SampleRate, 25, 2); }
protected override void Engine_SampleRateChanged(object sender, EventArgs e) { base.Engine_SampleRateChanged(sender, e); if (FDecoder != null) { FDecoder.Dispose(); } FDecoder = new Decoder(AudioEngine.Instance.Settings.SampleRate, 25, 2); }
public LTCDecoderSignal(AudioSignal input) { InputSignal.Value = input; FDecoder = new Decoder(AudioEngine.Instance.Settings.SampleRate, 25, 2); }