diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-04-08 15:26:06 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-04-08 15:26:06 +0200 |
commit | c4d841b4901563e38f705f62860d6214da53a689 (patch) | |
tree | be6b74c0072a5253bb179ece95f8edb721a6d616 /src/fig/FIGCarousel.h | |
parent | eedbb66a46d0a0b55e2e2816ff09a692a3b680e6 (diff) | |
download | dabmux-c4d841b4901563e38f705f62860d6214da53a689.tar.gz dabmux-c4d841b4901563e38f705f62860d6214da53a689.tar.bz2 dabmux-c4d841b4901563e38f705f62860d6214da53a689.zip |
Clean up FIG carousel a bit
Diffstat (limited to 'src/fig/FIGCarousel.h')
-rw-r--r-- | src/fig/FIGCarousel.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/fig/FIGCarousel.h b/src/fig/FIGCarousel.h index 00b6d18..1e33577 100644 --- a/src/fig/FIGCarousel.h +++ b/src/fig/FIGCarousel.h @@ -3,7 +3,7 @@ 2011, 2012 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2020 + Copyright (C) 2024 Matthias P. Braendli, matthias.braendli@mpb.li Implementation of the FIG carousel to schedule the FIGs into the @@ -69,8 +69,6 @@ class FIGCarousel { public: FIGCarousel(std::shared_ptr<dabEnsemble> ensemble); - void update(unsigned long currentFrame); - /* Write all FIBs to the buffer, including correct padding and crc. * Returns number of bytes written. * @@ -79,11 +77,11 @@ class FIGCarousel { */ size_t write_fibs( uint8_t *buf, - int framephase, + uint64_t current_frame, bool fib3_present); private: - size_t carousel(int fib, uint8_t *buf, size_t bufsize, int framephase); + size_t carousel(int fib, uint8_t *buf, size_t bufsize, uint64_t current_frame); void load_and_allocate(IFIG& fig, FIBAllocation fib); |