summaryrefslogtreecommitdiffstats
path: root/src/AlsaInput.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/AlsaInput.h')
-rw-r--r--src/AlsaInput.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/AlsaInput.h b/src/AlsaInput.h
index 7f88341..08ccbf6 100644
--- a/src/AlsaInput.h
+++ b/src/AlsaInput.h
@@ -100,6 +100,8 @@ class AlsaInputDirect : public AlsaInput
virtual void prepare(void) override;
+ virtual bool fault_detected(void) const override { return false; };
+
/*! Read length Bytes from from the alsa device.
* length must be a multiple of channels * bytes_per_sample.
*
@@ -131,7 +133,7 @@ class AlsaInputThreaded : public AlsaInput
/*! Start the ALSA thread that fills the queue */
virtual void prepare(void) override;
- bool fault_detected() const { return m_fault; };
+ virtual bool fault_detected(void) const override { return m_fault; };
private:
void process();