comparison src/audio/SDL_audio.c @ 3975:e85e65aec22f SDL-1.2

Added S60 port.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 24 Jun 2007 18:26:35 +0000
parents 42e83d81224b
children 8582c6a5ca16
comparison
equal deleted inserted replaced
3974:42578e98a295 3975:e85e65aec22f
104 #if SDL_AUDIO_DRIVER_MMEAUDIO 104 #if SDL_AUDIO_DRIVER_MMEAUDIO
105 &MMEAUDIO_bootstrap, 105 &MMEAUDIO_bootstrap,
106 #endif 106 #endif
107 #if SDL_AUDIO_DRIVER_DART 107 #if SDL_AUDIO_DRIVER_DART
108 &DART_bootstrap, 108 &DART_bootstrap,
109 #endif
110 #if SDL_AUDIO_DRIVER_EPOCAUDIO
111 &EPOCAudio_bootstrap,
109 #endif 112 #endif
110 NULL 113 NULL
111 }; 114 };
112 SDL_AudioDevice *current_audio = NULL; 115 SDL_AudioDevice *current_audio = NULL;
113 116
543 546
544 /* Start the audio thread if necessary */ 547 /* Start the audio thread if necessary */
545 switch (audio->opened) { 548 switch (audio->opened) {
546 case 1: 549 case 1:
547 /* Start the audio thread */ 550 /* Start the audio thread */
548 #if (defined(__WIN32__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC) 551 #if (defined(__WIN32__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC) && !defined(__SYMBIAN32__)
549 #undef SDL_CreateThread 552 #undef SDL_CreateThread
550 audio->thread = SDL_CreateThread(SDL_RunAudio, audio, NULL, NULL); 553 audio->thread = SDL_CreateThread(SDL_RunAudio, audio, NULL, NULL);
551 #else 554 #else
552 audio->thread = SDL_CreateThread(SDL_RunAudio, audio); 555 audio->thread = SDL_CreateThread(SDL_RunAudio, audio);
553 #endif 556 #endif