#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

@@ -342,6 +342,14 @@ public class ProcessingChain implements Listener<ChannelEvent>
mModules.remove(module);
}
/**
* Broadcasts the source event to the processing chain modules.
*/
public void broadcast(SourceEvent sourceEvent)
{
mSourceEventBroadcaster.broadcast(sourceEvent);
}
/**
* Registers the module as a listener to each of the broadcasters that
* provide the data interface(s) supported by the module.
@@ -830,6 +838,14 @@ public class ProcessingChain implements Listener<ChannelEvent>
mSourceEventBroadcaster.addListener(listener);
}
/**
* Removes the listener from receiving source events from this processing chain.
*/
public void removeSourceEventListener(Listener<SourceEvent> listener)
{
mSourceEventBroadcaster.removeListener(listener);
}
/**
* Adds the listener to receive frequency change events from the processing chain
*