summaryrefslogtreecommitdiffstats
path: root/src/dabplus-enc.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-01-10 17:35:23 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-01-10 17:35:23 +0100
commit90c973307607be9ed8f943a79a36a28a46c07502 (patch)
tree6f9d9cc7187e3c4f6fb11a95462c341998017049 /src/dabplus-enc.cpp
parente4821033a325b748c1c69848554b349c76ba6f59 (diff)
downloadODR-AudioEnc-90c973307607be9ed8f943a79a36a28a46c07502.tar.gz
ODR-AudioEnc-90c973307607be9ed8f943a79a36a28a46c07502.tar.bz2
ODR-AudioEnc-90c973307607be9ed8f943a79a36a28a46c07502.zip
Fix VLC queue fill and increase queue size
Diffstat (limited to 'src/dabplus-enc.cpp')
-rw-r--r--src/dabplus-enc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp
index 2e7f4fa..ff84de3 100644
--- a/src/dabplus-enc.cpp
+++ b/src/dabplus-enc.cpp
@@ -582,7 +582,7 @@ int main(int argc, char *argv[])
uint8_t input_buf[input_size];
- int max_size = 2*input_size + NUM_SAMPLES_PER_CALL;
+ int max_size = 4*input_size + NUM_SAMPLES_PER_CALL;
SampleQueue<uint8_t> queue(BYTES_PER_SAMPLE, channels, max_size);