Fixed ==/!= mismatch.
This commit is contained in:
parent
7180536524
commit
bfbe3b5c62
|
@ -210,7 +210,7 @@ static int OSS_OpenDevice(unsigned req_access)
|
|||
WARN("Mismatch in access...\n");
|
||||
return -1;
|
||||
}
|
||||
if (GetCurrentThreadId() == OSS_OwnerThreadID)
|
||||
if (GetCurrentThreadId() != OSS_OwnerThreadID)
|
||||
{
|
||||
WARN("Another thread is trying to access audio...\n");
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue