diff options
Diffstat (limited to 'src/pad_common.cpp')
-rw-r--r-- | src/pad_common.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pad_common.cpp b/src/pad_common.cpp index 13a96ef..f5da635 100644 --- a/src/pad_common.cpp +++ b/src/pad_common.cpp @@ -111,6 +111,13 @@ bool PADPacketizer::QueueFilled() { return !queue.empty(); } +bool PADPacketizer::QueueContainsDG(int apptype_start) { + for(std::deque<DATA_GROUP*>::const_iterator it = queue.cbegin(); it != queue.cend(); it++) + if((*it)->apptype_start == apptype_start) + return true; + return false; +} + pad_t* PADPacketizer::GetPAD() { bool pad_flushable = false; |