projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d79e960
)
Fix another missing call to snd_ctl_close
author
Connor MacDonald
<csmacdonald95@gmail.com>
Thu, 24 May 2018 15:34:07 +0000
(12:34 -0300)
committer
Connor MacDonald
<csmacdonald95@gmail.com>
Thu, 24 May 2018 15:34:07 +0000
(12:34 -0300)
RtAudio.cpp
patch
|
blob
|
history
diff --git
a/RtAudio.cpp
b/RtAudio.cpp
index 8255993708eff86310ac24ed35d4a1a655c8c0d2..e1462f4ddba67f283eb454ca7cb1a119c3b382f5 100644
(file)
--- a/
RtAudio.cpp
+++ b/
RtAudio.cpp
@@
-7162,6
+7162,7
@@
bool RtApiAlsa :: probeDeviceOpen( unsigned int device, StreamMode mode, unsigne
}
nDevices++;
}
+ snd_ctl_close( chandle );
if ( nDevices == 0 ) {
// This should not happen because a check is made before this function is called.