summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-10-14 05:51:23 +0000
committerDavid Robillard <d@drobilla.net>2006-10-14 05:51:23 +0000
commit5cb3a78c84c5f82421825ee6de507f2cdad5f654 (patch)
treee8a17b6132c123fd4932baebc6ab7712925a3dbd /src/AlsaDriver.cpp
parent56e5e5dca5591a6901facb6d1b7a12a04a265de3 (diff)
downloadpatchage-5cb3a78c84c5f82421825ee6de507f2cdad5f654.tar.gz
patchage-5cb3a78c84c5f82421825ee6de507f2cdad5f654.tar.bz2
patchage-5cb3a78c84c5f82421825ee6de507f2cdad5f654.zip
Fixed Patchage dynamic reconnection.
git-svn-id: http://svn.drobilla.net/lad/patchage@166 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r--src/AlsaDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index f868af9..eb93dac 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -73,7 +73,7 @@ AlsaDriver::attach(bool /*launch_daemon*/)
void
AlsaDriver::detach()
{
- if (m_seq != NULL) {
+ if (m_seq) {
pthread_cancel(m_refresh_thread);
pthread_join(m_refresh_thread, NULL);
snd_seq_close(m_seq);