equal
deleted
inserted
replaced
1026 if (!current_audio.impl.ProvidesOwnCallbackThread) { |
1026 if (!current_audio.impl.ProvidesOwnCallbackThread) { |
1027 /* Start the audio thread */ |
1027 /* Start the audio thread */ |
1028 char name[64]; |
1028 char name[64]; |
1029 SDL_snprintf(name, sizeof (name), "SDLAudioDev%d", (int) (id + 1)); |
1029 SDL_snprintf(name, sizeof (name), "SDLAudioDev%d", (int) (id + 1)); |
1030 /* !!! FIXME: this is nasty. */ |
1030 /* !!! FIXME: this is nasty. */ |
1031 #if (defined(__WIN32__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC) |
1031 #if defined(__WIN32__) && !defined(HAVE_LIBC) |
1032 #undef SDL_CreateThread |
1032 #undef SDL_CreateThread |
1033 device->thread = SDL_CreateThread(SDL_RunAudio, name, device, NULL, NULL); |
1033 device->thread = SDL_CreateThread(SDL_RunAudio, name, device, NULL, NULL); |
1034 #else |
1034 #else |
1035 device->thread = SDL_CreateThread(SDL_RunAudio, name, device); |
1035 device->thread = SDL_CreateThread(SDL_RunAudio, name, device); |
1036 #endif |
1036 #endif |