summaryrefslogtreecommitdiff
path: root/RtAudio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'RtAudio.cpp')
-rwxr-xr-xRtAudio.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index 3875761..d87930b 100755
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -6438,6 +6438,7 @@ void RtApiDs :: callbackEvent()
if ( FAILED( result ) ) {
errorStream_ << "RtApiDs::callbackEvent: error (" << getErrorString( result ) << ") getting current write position!";
errorText_ = errorStream_.str();
+ MUTEX_UNLOCK( &stream_.mutex );
error( RtAudioError::SYSTEM_ERROR );
return;
}