C-Netz: Simplifying TX signal clock sync between two channels

This commit is contained in:
Andreas Eversberg
2016-11-30 18:09:38 +01:00
parent 0b43b63d1f
commit e34d74aa23
3 changed files with 30 additions and 37 deletions

View File

@@ -84,6 +84,19 @@
* work with that.
*/
/*
* Notes on sync:
*
* The encoder generates a precise clocked signal using correction value given
* by command line. For multichannel, the second sound card's channel (slave) is
* synced to the first one (master), if calculation of signal phase might drift
* due to routing errors.
*
* The decoder is synced to the phone, whenever it receives a valid frame.
*
* See dsp.c and fsk_fm_demod.c for code about syncing.
*/
#define CHAN cnetz->sender.kanal
#include <stdio.h>