diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-12 08:46:12 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-12 08:46:12 +0200 |
commit | 5637664fcbe18b05a773d6db621a94de76e07817 (patch) | |
tree | 6d1891004e9d7977d02891fa22de642aac640b17 /src/VLCInput.h | |
parent | 28f95670d7f1497dc58f8820ab09475e4917d4ba (diff) | |
download | ODR-AudioEnc-5637664fcbe18b05a773d6db621a94de76e07817.tar.gz ODR-AudioEnc-5637664fcbe18b05a773d6db621a94de76e07817.tar.bz2 ODR-AudioEnc-5637664fcbe18b05a773d6db621a94de76e07817.zip |
VLC can write ICY Text into a file for mot-encoder
Diffstat (limited to 'src/VLCInput.h')
-rw-r--r-- | src/VLCInput.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/VLCInput.h b/src/VLCInput.h index f97b9d9..ec7c80e 100644 --- a/src/VLCInput.h +++ b/src/VLCInput.h @@ -63,6 +63,10 @@ class VLCInput */ ssize_t read(uint8_t* buf, size_t length); + /* Write the last received ICY-Text to the + * file. + */ + void write_icy_text(const std::string& filename) const; // Callbacks for VLC @@ -97,6 +101,8 @@ class VLCInput unsigned m_channels; int m_rate; + std::string m_nowplaying; + // VLC pointers libvlc_instance_t *m_vlc; libvlc_media_player_t *m_mp; |