#36 NBFM squelch control. Updates NBFM decoder to incorporate squelch control. Squelch is a configuration item and also available to adjust at runtime with new 'Channel' tab in Now Playing window. All decoders were updated to produce continuous channel power (dB) measurements that are displayed in the Channel tab's new Power Meter. (#1100)

Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
Denny Sheirer
2021-11-14 06:59:58 -05:00
committed by GitHub
parent 7303e06943
commit 4b806ecfde
40 changed files with 2348 additions and 98 deletions

View File

@@ -71,4 +71,15 @@ public class ChannelSpecification
{
return mStopFrequency;
}
@Override
public String toString()
{
StringBuilder sb = new StringBuilder();
sb.append("Channel Specification - min sample rate: ").append(mMinimumSampleRate);
sb.append(" bandwidth: ").append(mBandwidth);
sb.append(" pass: ").append(mPassFrequency);
sb.append(" stop: ").append(mStopFrequency);
return sb.toString();
}
}

View File

@@ -194,6 +194,10 @@ public abstract class TunerChannelSource extends ComplexSource implements ISourc
break;
case NOTIFICATION_FREQUENCY_ROTATION_FAILURE:
case NOTIFICATION_FREQUENCY_ROTATION_SUCCESS:
case NOTIFICATION_CHANNEL_POWER:
case NOTIFICATION_SQUELCH_THRESHOLD:
case REQUEST_CHANGE_SQUELCH_THRESHOLD:
case REQUEST_CURRENT_SQUELCH_THRESHOLD:
//Ignore
break;
default: