From 2ee51022f41d2877a18615cb67e49f9d9f626aaa Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 20 Jun 2016 19:37:56 +0200 Subject: Rename 'compander' to 'compandor' --- src/amps/dsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/amps/dsp.c') diff --git a/src/amps/dsp.c b/src/amps/dsp.c index 1be5fbe..8847c72 100644 --- a/src/amps/dsp.c +++ b/src/amps/dsp.c @@ -75,7 +75,7 @@ #define FSK_DEVIATION 32767.0 /* +-8 KHz */ #define SAT_DEVIATION 8192.0 /* +-2 KHz */ -#define TX_AUDIO_0dBm0 45000 /* works quite well */ +#define COMPANDOR_0DB 45000 /* works quite well */ #define BITRATE 10000 #define SIG_TONE_CROSSINGS 2000 /* 2000 crossings are 100ms @ 10 KHz */ #define SIG_TONE_MINBITS 950 /* minimum bit durations to detect signalling tone (1000 is perfect for 100 ms) */ @@ -145,7 +145,7 @@ int dsp_init_sender(amps_t *amps, int high_pass) double RC, dt; /* attack (3ms) and recovery time (13.5ms) according to amps specs */ - init_compander(&s->cstate, 8000, 3.0, 13.5, TX_AUDIO_0dBm0); + init_compandor(&s->cstate, 8000, 3.0, 13.5, COMPANDOR_0DB); PDEBUG(DDSP, DEBUG_DEBUG, "Init DSP for transceiver.\n"); -- cgit v1.2.3