C-Netz: Make demodulation algorithm (slope or leve) slectable via option

By default (auto), the algorithm is selected, depending on sound card
or SDR usage. For testing and debugging purpose, the algorithm can be
forced.
This commit is contained in:
Andreas Eversberg
2017-05-19 19:11:59 +02:00
parent c086e66b7c
commit 76a3484c5c
7 changed files with 55 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ enum fsk_sync {
};
enum demod_type {
FSK_DEMOD_AUTO, /* auto selection of the demod type below */
FSK_DEMOD_SLOPE, /* check for highest slope (good for sound cards) */
FSK_DEMOD_LEVEL, /* check for zero crossing (good for SDR) */
};