mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Notes on usage: - When using either AM or FM squelch control use either the Heterodyne channelizer or if using the Polyphase channelizer, avoid using trunk tracking decoders like DMR or P25 or set the squelch threshold high enough to avoid changes in noise floor from polyphase channelizer where it can vary between using the one channel or the two-channel combined channel sources. Co-authored-by: Dennis Sheirer <dsheirer@github.com>
32 lines
724 B
Java
32 lines
724 B
Java
package io.github.dsheirer.dsp.squelch;
|
|
|
|
/**
|
|
* Interface for configurations that support squelch threshold setting.
|
|
*/
|
|
public interface ISquelchConfiguration
|
|
{
|
|
/**
|
|
* Sets the squelch threshold
|
|
* @param threshold (dB)
|
|
*/
|
|
void setSquelchThreshold(int threshold);
|
|
|
|
/**
|
|
* Squelch threshold
|
|
* @return threshold (dB)
|
|
*/
|
|
int getSquelchThreshold();
|
|
|
|
/**
|
|
* Enable or disable the squelch noise floor auto-track feature.
|
|
* @param autoTrack true to enable.
|
|
*/
|
|
void setSquelchAutoTrack(boolean autoTrack);
|
|
|
|
/**
|
|
* Indicates if the squelch noise floor auto-track feature is enabled.
|
|
* @return true if enabled.
|
|
*/
|
|
boolean isSquelchAutoTrack();
|
|
}
|