summaryrefslogtreecommitdiffstats
path: root/src/VLCInput.h
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2015-12-06 17:48:32 +0100
committerStefan Pöschel <github@basicmaster.de>2015-12-06 17:48:32 +0100
commitf79f5d32ec35003b049af43624f20f781af95f2d (patch)
tree915984b014ef2de1ba5f9d98b776ec84f063f64a /src/VLCInput.h
parente74f28ac65a09ff7ddc2fe9e4aa1c2c4363ac595 (diff)
parent671ba26301303aa42f5e3eeb4f55f4617171ef63 (diff)
downloadfdk-aac-dabplus-f79f5d32ec35003b049af43624f20f781af95f2d.tar.gz
fdk-aac-dabplus-f79f5d32ec35003b049af43624f20f781af95f2d.tar.bz2
fdk-aac-dabplus-f79f5d32ec35003b049af43624f20f781af95f2d.zip
Merge branch 'next' of github.com:Opendigitalradio/fdk-aac-dabplus into next
Diffstat (limited to 'src/VLCInput.h')
-rw-r--r--src/VLCInput.h13
1 files changed, 12 insertions, 1 deletions
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<bool> icy_text_written;
std::string m_nowplaying;
std::string m_nowplaying_previous;