mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
This commit is contained in:
@@ -275,6 +275,14 @@ public abstract class TunerController implements Tunable, ISourceEventProcessor,
|
||||
return (int)(getBandwidth() * mUsableBandwidthPercentage);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the usable bandwidth percentage -- this can change based on samplerate for some tuners
|
||||
*/
|
||||
public void setUsableBandwidthPercentage(double usableBandwidthPercentage)
|
||||
{
|
||||
mUsableBandwidthPercentage = usableBandwidthPercentage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Usable half bandwidth - total bandwidth minus unusable space at either end of the spectrum.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user