aboutsummaryrefslogtreecommitdiffstats
path: root/src/amps/dsp.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2016-06-20 19:37:56 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2016-06-20 19:37:56 +0200
commit2ee51022f41d2877a18615cb67e49f9d9f626aaa (patch)
tree3a0c4e312a805c0695310959e91899c3e4571072 /src/amps/dsp.c
parent86daa5a64a24312a0bd622d0c5415ef2b60c27bb (diff)
Rename 'compander' to 'compandor'
Diffstat (limited to 'src/amps/dsp.c')
-rw-r--r--src/amps/dsp.c4
1 files changed, 2 insertions, 2 deletions
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(&amps->cstate, 8000, 3.0, 13.5, TX_AUDIO_0dBm0);
+ init_compandor(&amps->cstate, 8000, 3.0, 13.5, COMPANDOR_0DB);
PDEBUG(DDSP, DEBUG_DEBUG, "Init DSP for transceiver.\n");