Skip to content

Commit

Permalink
pipewire: spa_list_is_empty() returns bool
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 3, 2024
1 parent 0fd275e commit c9387bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/pipewire/SDL_pipewire.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit c9387bc

Please sign in to comment.