|
@@ -1129,7 +1129,7 @@ open_audio_device(const char *devname, int iscapture,
|
|
|
const SDL_AudioSpec * desired, SDL_AudioSpec * obtained,
|
|
|
int allowed_changes, int min_id)
|
|
|
{
|
|
|
- const SDL_bool is_internal_thread = (desired->callback != NULL);
|
|
|
+ const SDL_bool is_internal_thread = (desired->callback == NULL);
|
|
|
SDL_AudioDeviceID id = 0;
|
|
|
SDL_AudioSpec _obtained;
|
|
|
SDL_AudioDevice *device;
|