aboutsummaryrefslogtreecommitdiffstats
path: root/src/amps
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/amps
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/amps')
-rw-r--r--src/amps/amps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amps/amps.c b/src/amps/amps.c
index 8f9b1ad..fd8b03a 100644
--- a/src/amps/amps.c
+++ b/src/amps/amps.c
@@ -442,7 +442,7 @@ int amps_create(int channel, enum amps_chan_type chan_type, const char *audiodev
PDEBUG(DAMPS, DEBUG_DEBUG, "Creating 'AMPS' instance for channel = %d (sample rate %d).\n", channel, samplerate);
/* init general part of transceiver */
- rc = sender_create(&amps->sender, channel, amps_channel2freq(channel, 0), amps_channel2freq(channel, 1), audiodev, samplerate, rx_gain, 0, 0, write_rx_wave, write_tx_wave, read_rx_wave, loopback, 0, PILOT_SIGNAL_NONE);
+ rc = sender_create(&amps->sender, channel, amps_channel2freq(channel, 0), amps_channel2freq(channel, 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(DAMPS, DEBUG_ERROR, "Failed to init transceiver process!\n");
goto error;