aboutsummaryrefslogtreecommitdiffstats
path: root/src/pad_common.h
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2017-08-24 10:57:41 +0200
committerStefan Pöschel <github@basicmaster.de>2017-08-24 10:57:41 +0200
commitea629edd86ed9358243a673845b62a1be7d6a6b3 (patch)
treef5b2b17fe6f1a12215be85bc113b1d6b42b71e36 /src/pad_common.h
parent65b6c374e716878c46f7ff8ee86f25a5807c29cd (diff)
downloadODR-PadEnc-ea629edd86ed9358243a673845b62a1be7d6a6b3.tar.gz
ODR-PadEnc-ea629edd86ed9358243a673845b62a1be7d6a6b3.tar.bz2
ODR-PadEnc-ea629edd86ed9358243a673845b62a1be7d6a6b3.zip
PAD: add function to check if specific DG in queue
The function allows to check e.g. if the previous slide is still in transmission, in order to postpone the transmission of the current one.
Diffstat (limited to 'src/pad_common.h')
-rw-r--r--src/pad_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pad_common.h b/src/pad_common.h
index 5ee2d80..95134bd 100644
--- a/src/pad_common.h
+++ b/src/pad_common.h
@@ -120,6 +120,7 @@ public:
void AddDG(DATA_GROUP* dg, bool prepend);
void AddDGs(const std::vector<DATA_GROUP*>& dgs, bool prepend);
bool QueueFilled();
+ bool QueueContainsDG(int apptype_start);
pad_t* GetPAD();
void WriteAllPADs(int output_fd, int limit = -1, bool output_sole_fpad = false);