From c1599cb19601443c48c45c5ad8d1b0d40a6238bc Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Sun, 24 Apr 2016 22:18:56 +0200 Subject: 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 --- src/VLCInput.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/VLCInput.h') 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 #include +#include #include #include #include @@ -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 -- cgit v1.2.3