early-access version 2281
This commit is contained in:
4
externals/SDL/src/audio/qsa/SDL_qsa_audio.c
vendored
4
externals/SDL/src/audio/qsa/SDL_qsa_audio.c
vendored
@@ -120,7 +120,9 @@ QSA_WaitDevice(_THIS)
|
||||
/* If timeout occured than something wrong with hardware or driver */
|
||||
/* For example, Vortex 8820 audio driver stucks on second DAC because */
|
||||
/* it doesn't exist ! */
|
||||
result = SDL_IOReady(this->hidden->audio_fd, !this->hidden->iscapture, 2 * 1000);
|
||||
result = SDL_IOReady(this->hidden->audio_fd,
|
||||
this->hidden->iscapture ? SDL_IOR_READ : SDL_IOR_WRITE,
|
||||
2 * 1000);
|
||||
switch (result) {
|
||||
case -1:
|
||||
SDL_SetError("QSA: SDL_IOReady() failed: %s", strerror(errno));
|
||||
|
Reference in New Issue
Block a user