diff options
| author | garyscavone <garyscavone@users.noreply.github.com> | 2016-02-03 16:57:19 -0500 |
|---|---|---|
| committer | garyscavone <garyscavone@users.noreply.github.com> | 2016-02-03 16:57:19 -0500 |
| commit | 9bbdbbe9c11e4b7b44f76f78443236aa9fafe4b8 (patch) | |
| tree | b6b1511e9fa2a6cd6fdfc15b972be7934df9c25f /RtAudio.cpp | |
| parent | 2e50a308a86c2dc3510fe45300004d5efccfafd9 (diff) | |
| parent | 2495e750040b59b8f14d1f1ac3fd800a977e22ec (diff) | |
Merge pull request #43 from guidefloripa/master
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 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;
}
|
