summaryrefslogtreecommitdiffstats
path: root/src/FileInput.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-10-07 10:39:51 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-10-07 10:39:51 +0200
commit9c2615425bb4f35a417eb04b1ceebfc77d8e2c8b (patch)
tree6bc07553e7dcc56389d763f849f273bdf6d06681 /src/FileInput.h
parent68ee7799a4eeb4148cd4628113ebf9ea3f94a211 (diff)
downloadODR-AudioEnc-9c2615425bb4f35a417eb04b1ceebfc77d8e2c8b.tar.gz
ODR-AudioEnc-9c2615425bb4f35a417eb04b1ceebfc77d8e2c8b.tar.bz2
ODR-AudioEnc-9c2615425bb4f35a417eb04b1ceebfc77d8e2c8b.zip
Move fault_detected() into common input interface
Diffstat (limited to 'src/FileInput.h')
-rw-r--r--src/FileInput.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FileInput.h b/src/FileInput.h
index c66441a..59e0f0b 100644
--- a/src/FileInput.h
+++ b/src/FileInput.h
@@ -50,6 +50,8 @@ class FileInput : public InputInterface
/*! Open the file and prepare the wav decoder. */
virtual void prepare(void) override;
+ virtual bool fault_detected(void) const override { return false; };
+
/*! Read length bytes into buf.
*
* \return the number of bytes read.