diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-12-02 07:14:19 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-12-02 07:29:33 +0100 |
commit | 98e61b8f765314e5132da97797590703eb6484ea (patch) | |
tree | 8f638c2ebd754aa97e9f0ce7b39366b64e80c4d8 /src/VLCInput.h | |
parent | a910b890b5ce386edd42516c454a85e8d3616c0f (diff) | |
download | fdk-aac-98e61b8f765314e5132da97797590703eb6484ea.tar.gz fdk-aac-98e61b8f765314e5132da97797590703eb6484ea.tar.bz2 fdk-aac-98e61b8f765314e5132da97797590703eb6484ea.zip |
Merge patch from Francesco for VLC input
Adds cache control and compressor
Diffstat (limited to 'src/VLCInput.h')
-rw-r--r-- | src/VLCInput.h | 13 |
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; |