diff options
author | Stefan Pöschel <github@basicmaster.de> | 2019-02-12 10:33:17 +0100 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2019-02-12 10:33:17 +0100 |
commit | d5306b83e15c1663aa4fe0a4bc1eec184f30d04e (patch) | |
tree | 3f0592da42de2e5919bc07b7888cc9ed01c3b782 /src/pad_common.h | |
parent | f7b67792e7295738a20f8b8d15ce63dbd9a052bd (diff) | |
download | ODR-PadEnc-d5306b83e15c1663aa4fe0a4bc1eec184f30d04e.tar.gz ODR-PadEnc-d5306b83e15c1663aa4fe0a4bc1eec184f30d04e.tar.bz2 ODR-PadEnc-d5306b83e15c1663aa4fe0a4bc1eec184f30d04e.zip |
Add option to output X-PAD in intervals only
Also hide PADPacketizer::GetPAD().
Diffstat (limited to 'src/pad_common.h')
-rw-r--r-- | src/pad_common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pad_common.h b/src/pad_common.h index 95134bd..7568d8c 100644 --- a/src/pad_common.h +++ b/src/pad_common.h @@ -3,7 +3,7 @@ Copyright (C) 2014, 2015 Matthias P. Braendli (http://opendigitalradio.org) - Copyright (C) 2015, 2016, 2017 Stefan Pöschel (http://opendigitalradio.org) + Copyright (C) 2015-2019 Stefan Pöschel (http://opendigitalradio.org) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -108,6 +108,7 @@ private: void AppendDGWithCI(DATA_GROUP* dg); void AppendDGWithoutCI(DATA_GROUP* dg); + pad_t* GetPAD(); void ResetPAD(); pad_t* FlushPAD(); public: @@ -122,8 +123,7 @@ public: bool QueueFilled(); bool QueueContainsDG(int apptype_start); - pad_t* GetPAD(); - void WriteAllPADs(int output_fd, int limit = -1, bool output_sole_fpad = false); + void WriteAllPADs(int output_fd, int limit = -1, bool output_sole_fpad = false, bool output_xpad = true); static DATA_GROUP* CreateDataGroupLengthIndicator(size_t len); static bool CheckPADLen(size_t len); |