mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
#1565 updates LTR, LTRNet and Passport decoders with new slope decoder. Resolves issue with LTR Standard decoder state that was combining individual calls to the same talkgroup and causing excessively long calls. (#1567)
Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
@@ -142,10 +142,11 @@ public class ComplexWaveSource extends Source implements IControllableFileSource
|
||||
if(mAutoReplay)
|
||||
{
|
||||
double sampleRate = getSampleRate();
|
||||
|
||||
double buffersPerSecond = (sampleRate / mBufferSampleCount);
|
||||
long intervalMilliseconds = (long)(1000.0 / buffersPerSecond);
|
||||
mReplayController = ThreadPool.SCHEDULED.scheduleAtFixedRate(new ReplayController(mBufferSampleCount),
|
||||
0, intervalMilliseconds, TimeUnit.MILLISECONDS);
|
||||
Runnable r = new ReplayController(mBufferSampleCount);
|
||||
mReplayController = ThreadPool.SCHEDULED.scheduleAtFixedRate(r, 0, intervalMilliseconds, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user