aboutsummaryrefslogtreecommitdiffstats
path: root/src/cnetz
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-01-07 10:33:13 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2017-02-18 21:00:50 +0100
commit8b9277615dce4fdbcb70df5280f4fcb4e8ac274f (patch)
treebb27dbe6fb45854ba59c9396e651c2a1b4bdca80 /src/cnetz
parent57993e3e4817dd690394af7a1bb9f58c2a92a135 (diff)
Neu structure for the paging process (B-Netz)
Paging tones are not created within sound_alsa.c The audio API is now responsible to switch to paging channel. In case of SDR, the sdr.c will switch frequency offset.
Diffstat (limited to 'src/cnetz')
-rw-r--r--src/cnetz/cnetz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cnetz/cnetz.c b/src/cnetz/cnetz.c
index f0a4ec5..71795da 100644
--- a/src/cnetz/cnetz.c
+++ b/src/cnetz/cnetz.c
@@ -274,7 +274,7 @@ int cnetz_create(int kanal, enum cnetz_chan_type chan_type, const char *audiodev
/* init general part of transceiver */
/* do not enable emphasis, since it is done by cnetz code, not by common sender code */
- rc = sender_create(&cnetz->sender, kanal, cnetz_kanal2freq(kanal, 0), cnetz_kanal2freq(kanal, 1), audiodev, samplerate, rx_gain, 0, 0, write_rx_wave, write_tx_wave, read_rx_wave, loopback, 0, PILOT_SIGNAL_NONE);
+ rc = sender_create(&cnetz->sender, kanal, cnetz_kanal2freq(kanal, 0), cnetz_kanal2freq(kanal, 1), audiodev, samplerate, rx_gain, 0, 0, write_rx_wave, write_tx_wave, read_rx_wave, loopback, 0, PAGING_SIGNAL_NONE);
if (rc < 0) {
PDEBUG(DCNETZ, DEBUG_ERROR, "Failed to init transceiver process!\n");
goto error;