diff options
Diffstat (limited to 'src/AlsaInput.h')
-rw-r--r-- | src/AlsaInput.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/AlsaInput.h b/src/AlsaInput.h index 8055140..f697a3c 100644 --- a/src/AlsaInput.h +++ b/src/AlsaInput.h @@ -111,13 +111,7 @@ class AlsaInputThreaded : public AlsaInput m_fault(false), m_running(false) { } - virtual ~AlsaInputThreaded() - { - if (m_running) { - m_running = false; - m_thread.join(); - } - } + virtual ~AlsaInputThreaded(); /*! Start the ALSA thread that fills the queue */ virtual void prepare(void) override; |