mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 09:07:27 -05:00
Tuner Controller update to better handle automatic center frequency
calculation when additional channels are allocated. Incorporates tuner specific definition of overall usable bandwidth, so that tuners like airspy can specify 90% of 10 MHz (ie 9 MHz) is truly usable and the fringe 10% is unusable rolloff. Also includes tuner-specific defining of the width of the central spike, or a value of 0 indicates that the entire range is usable (ie airspy).
This commit is contained in:
@@ -137,9 +137,14 @@ public abstract class RTL2832TunerController extends TunerController
|
||||
DeviceDescriptor deviceDescriptor,
|
||||
ThreadPoolManager threadPoolManager,
|
||||
long minTunableFrequency,
|
||||
long maxTunableFrequency ) throws SourceException
|
||||
long maxTunableFrequency,
|
||||
int centerUnusableBandwidth,
|
||||
double usableBandwidthPercentage ) throws SourceException
|
||||
{
|
||||
super( minTunableFrequency, maxTunableFrequency );
|
||||
super( minTunableFrequency,
|
||||
maxTunableFrequency,
|
||||
centerUnusableBandwidth,
|
||||
usableBandwidthPercentage );
|
||||
|
||||
mThreadPoolManager = threadPoolManager;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user