summaryrefslogtreecommitdiffstats
path: root/src/SampleQueue.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-06-12 14:46:50 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-06-24 09:32:13 +0200
commit2c41070f6691ed98a93b245b4ecb17fd898002ab (patch)
treebec929230e7dd88f7ab9f90bfcdd6b9b21b0b088 /src/SampleQueue.h
parent7102f830e01c3d4d695c0d36608cb09064e4aedc (diff)
downloadODR-AudioEnc-2c41070f6691ed98a93b245b4ecb17fd898002ab.tar.gz
ODR-AudioEnc-2c41070f6691ed98a93b245b4ecb17fd898002ab.tar.bz2
ODR-AudioEnc-2c41070f6691ed98a93b245b4ecb17fd898002ab.zip
Add EDI output and rework odr-audioenc.cpp
Diffstat (limited to 'src/SampleQueue.h')
-rw-r--r--src/SampleQueue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/SampleQueue.h b/src/SampleQueue.h
index aeeb8d4..f39dbd7 100644
--- a/src/SampleQueue.h
+++ b/src/SampleQueue.h
@@ -275,6 +275,11 @@ public:
return ret;
}
+ void set_max_size(size_t max_size)
+ {
+ m_max_size = max_size;
+ }
+
private:
std::deque<T> m_queue;
mutable std::mutex m_mutex;