mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
#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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user