From 98e61b8f765314e5132da97797590703eb6484ea Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 2 Dec 2015 07:14:19 +0100 Subject: Merge patch from Francesco for VLC input Adds cache control and compressor --- src/VLCInput.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/VLCInput.h') diff --git a/src/VLCInput.h b/src/VLCInput.h index 6b0a0f4..326c6cd 100644 --- a/src/VLCInput.h +++ b/src/VLCInput.h @@ -44,11 +44,15 @@ class VLCInput VLCInput(const std::string& uri, int rate, unsigned channels, - unsigned verbosity) : + unsigned verbosity, + std::string& gain, + std::string& cache) : m_uri(uri), m_verbosity(verbosity), m_channels(channels), m_rate(rate), + m_cache(cache), + m_gain(gain), m_vlc(NULL) { } ~VLCInput() { cleanup(); } @@ -103,6 +107,13 @@ class VLCInput unsigned m_channels; int m_rate; + // Whether to enable network caching in VLC or not + std::string m_cache; + + // value for the VLC compressor filter + std::string m_gain; + + std::future icy_text_written; std::string m_nowplaying; std::string m_nowplaying_previous; -- cgit v1.2.3