diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2019-12-05 21:57:23 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2019-12-08 17:26:47 +0100 |
commit | 4af2dca10dc4fb15eb5731bfba25b407a272f63b (patch) | |
tree | 01cc84fe1d1ea08329261b8b25bb8a65a5855a51 /src/libam/am.h | |
parent | 150a77b69d7a91a300540606b4eccf382e0caf08 (diff) |
Add power control to AM (power on/off per sample)
Diffstat (limited to 'src/libam/am.h')
-rw-r--r-- | src/libam/am.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libam/am.h b/src/libam/am.h index 6bebe2c..345171c 100644 --- a/src/libam/am.h +++ b/src/libam/am.h @@ -12,7 +12,7 @@ typedef struct am_mod { int am_mod_init(am_mod_t *mod, double samplerate, double offset, double gain, double bias); void am_mod_exit(am_mod_t *mod); -void am_modulate_complex(am_mod_t *mod, sample_t *amplitude, int num, float *baseband); +void am_modulate_complex(am_mod_t *mod, sample_t *amplitude, uint8_t *power, int num, float *baseband); typedef struct am_demod { double rot; /* angle to rotate vector per sample */ |