Airspy controller - changes method for adjusting center tuned frequency

when tuner channels are allocated by the airspy.  New method determines
the min/max requested frequency range and sets tuner center to the
center of that range, while limiting the total usable bandwidth to 90%
of the bandwidth, to account for rolloff of 5% at the upper/lower edges.

When a new channel is requested, if the channel fits within the current
center frequency and usable bandwidth, the center tune frequency is not
adjusted, to minimize the number of retunes on a busy system.
This commit is contained in:
denny
2015-11-29 07:11:47 -05:00
parent f04a6727b0
commit ae10b5fc1c
3 changed files with 39 additions and 9 deletions

View File

@@ -714,7 +714,7 @@ public class Channel extends Configuration
}
catch( SourceException se )
{
mLog.info( "Couldn't obtain source for channel [" + mName + "]" );
//Do nothing, we couldn't get a source for the channel
}
}
}