From 90c973307607be9ed8f943a79a36a28a46c07502 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 10 Jan 2016 17:35:23 +0100 Subject: Fix VLC queue fill and increase queue size --- src/VLCInput.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/VLCInput.h') diff --git a/src/VLCInput.h b/src/VLCInput.h index f880642..27d6237 100644 --- a/src/VLCInput.h +++ b/src/VLCInput.h @@ -38,9 +38,6 @@ // 16 bits per sample is fine for now #define BYTES_PER_SAMPLE 2 -// How many samples we insert into the queue each call -#define NUM_SAMPLES_PER_CALL 10 // 10 samples @ 32kHz = 3.125ms - /* Common functionality for the direct libvlc input and the * threaded libvlc input */ @@ -93,6 +90,7 @@ class VLCInput protected: void cleanup(void); + // Fill exactly length bytes into buf. Blocking. ssize_t m_read(uint8_t* buf, size_t length); std::vector m_current_buf; -- cgit v1.2.3