From 8b9277615dce4fdbcb70df5280f4fcb4e8ac274f Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sat, 7 Jan 2017 10:33:13 +0100 Subject: 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. --- src/amps/amps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amps') 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(&s->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(&s->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; -- cgit v1.2.3