aboutsummaryrefslogtreecommitdiffstats
path: root/src/nmt/nmt.h
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/nmt/nmt.h
parent86daa5a64a24312a0bd622d0c5415ef2b60c27bb (diff)
Rename 'compander' to 'compandor'
Diffstat (limited to 'src/nmt/nmt.h')
-rw-r--r--src/nmt/nmt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nmt/nmt.h b/src/nmt/nmt.h
index 626ca7b..7efbc9d 100644
--- a/src/nmt/nmt.h
+++ b/src/nmt/nmt.h
@@ -1,5 +1,5 @@
#include "../common/sender.h"
-#include "../common/compander.h"
+#include "../common/compandor.h"
#include "../common/dtmf.h"
enum dsp_mode {
@@ -72,7 +72,7 @@ const char *nmt_dir_name(enum nmt_direction dir);
typedef struct nmt {
sender_t sender;
nmt_sysinfo_t sysinfo;
- compander_t cstate;
+ compandor_t cstate;
dtmf_t dtmf;
/* sender's states */
@@ -90,7 +90,7 @@ typedef struct nmt {
int mt_channel; /* channel to use */
/* features */
- int compander; /* if compander shall be used */
+ int compandor; /* if compandor shall be used */
int supervisory; /* if set, use supervisory signal 1..4 */
/* dsp states */
@@ -138,7 +138,7 @@ const char *chan_type_long_name(enum nmt_chan_type chan_type);
double nmt_channel2freq(int channel, int uplink);
void nmt_country_list(void);
uint8_t nmt_country_by_short_name(const char *short_name);
-int nmt_create(int channel, enum nmt_chan_type chan_type, const char *sounddev, int samplerate, int cross_channels, double rx_gain, int pre_emphasis, int de_emphasis, const char *write_wave, const char *read_wave, uint8_t ms_power, uint8_t traffic_area, uint8_t area_no, int compander, int supervisory, int loopback);
+int nmt_create(int channel, enum nmt_chan_type chan_type, const char *sounddev, int samplerate, int cross_channels, double rx_gain, int pre_emphasis, int de_emphasis, const char *write_wave, const char *read_wave, uint8_t ms_power, uint8_t traffic_area, uint8_t area_no, int compandor, int supervisory, int loopback);
void nmt_destroy(sender_t *sender);
void nmt_receive_frame(nmt_t *nmt, const char *bits, double quality, double level, double frames_elapsed);
const char *nmt_get_frame(nmt_t *nmt);