mirror of
https://github.com/encounter/SDL.git
synced 2025-12-17 08:57:01 +00:00
core: Convert SDL_IOReady()'s 2nd parameter to flags
This commit is contained in:
committed by
Sam Lantinga
parent
81fe2ccb9c
commit
c97c46877f
@@ -156,7 +156,7 @@ PAUDIO_WaitDevice(_THIS)
|
||||
#ifdef DEBUG_AUDIO
|
||||
fprintf(stderr, "Waiting for audio to get ready\n");
|
||||
#endif
|
||||
if (SDL_IOReady(this->hidden->audio_fd, SDL_TRUE, timeoutMS) <= 0) {
|
||||
if (SDL_IOReady(this->hidden->audio_fd, SDL_IOR_WRITE, timeoutMS) <= 0) {
|
||||
/*
|
||||
* In general we should never print to the screen,
|
||||
* but in this case we have no other way of letting
|
||||
|
||||
Reference in New Issue
Block a user