diff options
| author | Guilherme Steinmann <guidefloripa@gmail.com> | 2015-12-21 10:29:26 -0200 |
|---|---|---|
| committer | Guilherme Steinmann <guidefloripa@gmail.com> | 2015-12-21 10:29:26 -0200 |
| commit | 2495e750040b59b8f14d1f1ac3fd800a977e22ec (patch) | |
| tree | a6dbc4d0e6ce7d284aae88f95daf0cd3e8cdf6b8 /RtAudio.cpp | |
| parent | f6829a48de2bb0a2a0a7c000fd96d2b2e3874eb2 (diff) | |
Release lock if GetCurrentPosition from DS failed
Diffstat (limited to 'RtAudio.cpp')
| -rwxr-xr-x | RtAudio.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index cc81fc9..1dc2f23 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;
}
|
