summaryrefslogtreecommitdiffstats
path: root/src/InputInterface.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/InputInterface.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/InputInterface.h')
-rw-r--r--src/InputInterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/InputInterface.h b/src/InputInterface.h
index 739ca3f..b582c33 100644
--- a/src/InputInterface.h
+++ b/src/InputInterface.h
@@ -31,4 +31,7 @@ class InputInterface {
* runtime_error.
*/
virtual void prepare(void) = 0;
+
+ /*! Return true if the input detected some sort of fault */
+ virtual bool fault_detected(void) const = 0;
};