mirror of https://github.com/libsdl-org/SDL
pipewire: spa_list_is_empty() returns bool
This commit is contained in:
parent
0fd275e16e
commit
c9387bcca5
|
@ -1265,7 +1265,7 @@ static bool PIPEWIRE_PREFERRED_Init(SDL_AudioDriverImpl *impl)
|
|||
PIPEWIRE_pw_thread_loop_wait(hotplug_loop);
|
||||
}
|
||||
|
||||
const int no_devices = spa_list_is_empty(&hotplug_io_list);
|
||||
const bool no_devices = spa_list_is_empty(&hotplug_io_list);
|
||||
|
||||
PIPEWIRE_pw_thread_loop_unlock(hotplug_loop);
|
||||
|
||||
|
|
Loading…
Reference in New Issue