summaryrefslogtreecommitdiffstats
path: root/src/VLCInput.cpp
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.cpp
parente74f28ac65a09ff7ddc2fe9e4aa1c2c4363ac595 (diff)
parent671ba26301303aa42f5e3eeb4f55f4617171ef63 (diff)
downloadODR-AudioEnc-f79f5d32ec35003b049af43624f20f781af95f2d.tar.gz
ODR-AudioEnc-f79f5d32ec35003b049af43624f20f781af95f2d.tar.bz2
ODR-AudioEnc-f79f5d32ec35003b049af43624f20f781af95f2d.zip
Merge branch 'next' of github.com:Opendigitalradio/fdk-aac-dabplus into next
Diffstat (limited to 'src/VLCInput.cpp')
-rw-r--r--src/VLCInput.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp
index 3a2e9ec..00d5fa4 100644
--- a/src/VLCInput.cpp
+++ b/src/VLCInput.cpp
@@ -138,7 +138,7 @@ int VLCInput::prepare()
// VLC options
char smem_options[512];
snprintf(smem_options, sizeof(smem_options),
- "#transcode{acodec=s16l,samplerate=%d}:"
+ "#transcode{acodec=s16l,samplerate=%d,afilter=compressor}:"
// We are using transcode because smem only support raw audio and
// video formats
"smem{"
@@ -153,7 +153,8 @@ int VLCInput::prepare()
char verb_options[512];
snprintf(verb_options, sizeof(verb_options),
- "--verbose=%d", m_verbosity);
+ "--verbose=%d --network-caching %s --compressor-makeup-gain=%s ",
+ m_verbosity,(char *)m_cache.c_str(),(char *)m_gain.c_str());
const char * const vlc_args[] = {
verb_options,