diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-05-04 16:05:47 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-05-04 16:05:47 +0200 |
commit | 55fe285c56055497725a619e5b9acbd6dec57e23 (patch) | |
tree | ee9fc752adddd8ef75b4e2c94c0e8ef914411c28 /src/JackInput.cpp | |
parent | 20607d9aff6b1cee10fec1c7efc815ae2d77518c (diff) | |
download | ODR-AudioEnc-55fe285c56055497725a619e5b9acbd6dec57e23.tar.gz ODR-AudioEnc-55fe285c56055497725a619e5b9acbd6dec57e23.tar.bz2 ODR-AudioEnc-55fe285c56055497725a619e5b9acbd6dec57e23.zip |
Fix teardown after silence detector trigger
Diffstat (limited to 'src/JackInput.cpp')
-rw-r--r-- | src/JackInput.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/JackInput.cpp b/src/JackInput.cpp index bc57588..4d9a530 100644 --- a/src/JackInput.cpp +++ b/src/JackInput.cpp @@ -34,6 +34,9 @@ using namespace std; JackInput::~JackInput() { + // Ensures push() doesn't get blocked + m_queue.clear(); + if (m_client) { jack_client_close(m_client); } |