aboutsummaryrefslogtreecommitdiffstats
path: root/src/VLCInput.h
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2016-04-24 22:18:56 +0200
committerStefan Pöschel <github@basicmaster.de>2016-04-24 22:18:56 +0200
commitc1599cb19601443c48c45c5ad8d1b0d40a6238bc (patch)
treea0be96f911a70b3b91654a4b44f998838afb1f22 /src/VLCInput.h
parent42546c26517013fc0df6a47743c7734a1ea9ecf8 (diff)
downloadODR-AudioEnc-c1599cb19601443c48c45c5ad8d1b0d40a6238bc.tar.gz
ODR-AudioEnc-c1599cb19601443c48c45c5ad8d1b0d40a6238bc.tar.bz2
ODR-AudioEnc-c1599cb19601443c48c45c5ad8d1b0d40a6238bc.zip
DLS: add DL Plus support
- adds support for Dynamic Label Plus to mot-encoder through a new parameter block which prepends the DLS text within the regarding file - adds an option to add DL Plus data to the VLC input ICY text of dabplus-enc
Diffstat (limited to 'src/VLCInput.h')
-rw-r--r--src/VLCInput.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/VLCInput.h b/src/VLCInput.h
index ffa9258..3467525 100644
--- a/src/VLCInput.h
+++ b/src/VLCInput.h
@@ -25,6 +25,7 @@
#include <cstdio>
#include <string>
+#include <sstream>
#include <vector>
#include <deque>
#include <thread>
@@ -36,6 +37,10 @@
#include "SampleQueue.h"
#include "common.h"
+extern "C" {
+#include "utils.h"
+}
+
/* Common functionality for the direct libvlc input and the
* threaded libvlc input
*/
@@ -67,7 +72,7 @@ class VLCInput
/* Write the last received ICY-Text to the
* file.
*/
- void write_icy_text(const std::string& filename);
+ void write_icy_text(const std::string& filename, bool dl_plus);
// Callbacks for VLC