summaryrefslogtreecommitdiffstats
path: root/src/VLCInput.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-10-07 11:47:05 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-10-07 11:51:46 +0200
commit84febca8b268129cdd79ff0d1c4f8eeed092c5fb (patch)
tree3e75880241e0fcd2951c04aad77d7077b4ec130c /src/VLCInput.h
parent9c2615425bb4f35a417eb04b1ceebfc77d8e2c8b (diff)
downloadODR-AudioEnc-84febca8b268129cdd79ff0d1c4f8eeed092c5fb.tar.gz
ODR-AudioEnc-84febca8b268129cdd79ff0d1c4f8eeed092c5fb.tar.bz2
ODR-AudioEnc-84febca8b268129cdd79ff0d1c4f8eeed092c5fb.zip
Use queue for all inputs and unify interface
This also changes the --fifo-silence option. Instead of inserting silence separately, it uses the drift compensation to do that.
Diffstat (limited to 'src/VLCInput.h')
-rw-r--r--src/VLCInput.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/VLCInput.h b/src/VLCInput.h
index 703641d..076e961 100644
--- a/src/VLCInput.h
+++ b/src/VLCInput.h
@@ -117,6 +117,8 @@ class VLCInput : public InputInterface
* the libVLC thread that fills m_samplequeue */
virtual void prepare() override;
+ virtual bool read_source(size_t num_bytes) override;
+
/*! Write the last received ICY-Text to the
* file.
*/