path: root/src/amps/dsp.c
diff options
authorAndreas Eversberg <jolly@eversberg.eu>2017-10-09 20:49:14 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2017-10-22 19:23:08 +0200
commitb32e0ab6025a025850dc0079fa6596a96d7295a6 (patch)
tree199098e532a80417d5a3a18e80172280ccb84cad /src/amps/dsp.c
parentf7a0e4622bed9551bb0999d3c54bb69249065d38 (diff)
Implementation of RX level squelch (for A-Netz and B-Netz)
Use -S <dB> for setting RF level or use -S auto for auto level. When squelch closes, audio is muted. If squelch is closed for some seconds (depending on network), call is released. (RF loss condition) The previous loss detection has been removed
Diffstat (limited to 'src/amps/dsp.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amps/dsp.c b/src/amps/dsp.c
index 2415f0a..f3eb35b 100644
--- a/src/amps/dsp.c
+++ b/src/amps/dsp.c
@@ -851,7 +851,7 @@ static void sender_receive_audio(amps_t *amps, sample_t *samples, int length)
/* Process received audio stream from radio unit. */
-void sender_receive(sender_t *sender, sample_t *samples, int length)
+void sender_receive(sender_t *sender, sample_t *samples, int length, double __attribute__((unused)) rf_level_db)
amps_t *amps = (amps_t *) sender;