Skip to content
Snippets Groups Projects
Commit 60676231 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix the single-threaded build:

error: ‘handle_mutex’ undeclared
parent a985b9b1
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1553 passed
......@@ -416,9 +416,13 @@ DLLCALL xptone_open_locked(void)
if(pu_api != NULL) {
handle_type=SOUND_DEVICE_PULSEAUDIO;
handle_rc++;
#ifdef XPDEV_THREAD_SAFE
pthread_mutex_unlock(&handle_mutex);
#endif
xptone(0, 1, WAVE_SHAPE_SQUARE);
#ifdef XPDEV_THREAD_SAFE
pthread_mutex_lock(&handle_mutex);
#endif
if (pulseaudio_device_open_failed) {
handle_type = SOUND_DEVICE_CLOSED;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment