Channelizer tweaks

This commit is contained in:
Charles J. Cliffe 2015-12-05 19:07:26 -05:00
parent 1eb84d6fa7
commit f91a508da6
2 changed files with 4 additions and 7 deletions

View File

@ -35,6 +35,6 @@ const char filePathSeparator =
#define DEFAULT_WATERFALL_LPS 30
#define CHANNELIZER_RATE_MAX 400000
#define CHANNELIZER_RATE_MAX 500000

View File

@ -326,13 +326,10 @@ int SDRThread::getOptimalChannelCount(long long sampleRate) {
optimal_count--;
}
if (optimal_count < 4) {
optimal_count = 4;
if (optimal_count < 2) {
optimal_count = 2;
}
// if (optimal_count > 16) {
// optimal_count = 16;
// }
return optimal_count;
}