| 1 | /* |
| 2 | * demod_pzvei.c |
| 3 | * |
| 4 | * Copyright (C) 2013 |
| 5 | * Elias Oenal ([email protected]) |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 20 | */ |
| 21 | |
| 22 | #define SAMPLE_RATEcxx . . $ `demod_pzvei.c:22:9`! 22050 |
| 23 | #define PHINCcxx . . $ `demod_pzvei.c:23:9`!(x) ((x)*0x10000/SAMPLE_RATEcxx . . $ `demod_pzvei.c:22:9`!) |
| 24 | |
| 25 | #include "multimon.h"cxx . . $ `<file>/multimon.h`/ |
| 26 | |
| 27 | static const unsigned int pzvei_freqcxx . . $ pzvei_freq.[16] = { |
| 28 | PHINCcxx . . $ `demod_pzvei.c:23:9`!(2400), PHINCcxx . . $ `demod_pzvei.c:23:9`!(1060), PHINCcxx . . $ `demod_pzvei.c:23:9`!(1160), PHINCcxx . . $ `demod_pzvei.c:23:9`!(1270), |
| 29 | PHINCcxx . . $ `demod_pzvei.c:23:9`!(1400), PHINCcxx . . $ `demod_pzvei.c:23:9`!(1530), PHINCcxx . . $ `demod_pzvei.c:23:9`!(1670), PHINCcxx . . $ `demod_pzvei.c:23:9`!(1830), |
| 30 | PHINCcxx . . $ `demod_pzvei.c:23:9`!(2000), PHINCcxx . . $ `demod_pzvei.c:23:9`!(2200), PHINCcxx . . $ `demod_pzvei.c:23:9`!(970), PHINCcxx . . $ `demod_pzvei.c:23:9`!(810), |
| 31 | PHINCcxx . . $ `demod_pzvei.c:23:9`!(2800), PHINCcxx . . $ `demod_pzvei.c:23:9`!(885), PHINCcxx . . $ `demod_pzvei.c:23:9`!(2400), PHINCcxx . . $ `demod_pzvei.c:23:9`!(680) |
| 32 | }; |
| 33 | |
| 34 | /* ---------------------------------------------------------------------- */ |
| 35 | |
| 36 | static void pzvei_initcxx . . $ pzvei_init(4ecab3bcb3853d12).(struct demod_statecxx . . $ demod_state# *s) |
| 37 | { |
| 38 | selcall_initcxx . . $ selcall_init(4ecab3bcb3853d12).(s); |
| 39 | } |
| 40 | |
| 41 | static void pzvei_deinitcxx . . $ pzvei_deinit(4ecab3bcb3853d12).(struct demod_statecxx . . $ demod_state# *s) |
| 42 | { |
| 43 | selcall_deinitcxx . . $ selcall_deinit(4ecab3bcb3853d12).(s); |
| 44 | } |
| 45 | |
| 46 | static void pzvei_demodcxx . . $ pzvei_demod(9b1118cbff1ecce2).(struct demod_statecxx . . $ demod_state# *s, buffer_tcxx . . $ buffer_t# buffer, int length) |
| 47 | { |
| 48 | selcall_demodcxx . . $ selcall_demod(8ae68bc4e0957873).(s, buffer.fbuffercxx . . $ buffer#fbuffer., length, pzvei_freqcxx . . $ pzvei_freq., demod_pzveicxx . . $ demod_pzvei..namecxx . . $ demod_param#name.); |
| 49 | } |
| 50 | |
| 51 | const struct demod_paramcxx . . $ demod_param# demod_pzveicxx . . $ demod_pzvei. = { |
| 52 | "PZVEI", truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!, SAMPLE_RATEcxx . . $ `demod_pzvei.c:22:9`!, 0, pzvei_initcxx . . $ pzvei_init(4ecab3bcb3853d12)., pzvei_demodcxx . . $ pzvei_demod(9b1118cbff1ecce2)., pzvei_deinitcxx . . $ pzvei_deinit(4ecab3bcb3853d12). |
| 53 | }; |
| 54 | |
| 55 | |
| 56 |