Mercurial > sdl-ios-xcode
diff src/audio/mint/SDL_mintaudio_xbios.c @ 2022:649e9ac39f74
Disable MiNT thread usage and use hw access for updating DMA audio pointers
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Tue, 12 Sep 2006 19:23:51 +0000 |
parents | 45af7d69f8eb |
children | d48ead2d2ba5 |
line wrap: on
line diff
--- a/src/audio/mint/SDL_mintaudio_xbios.c Tue Sep 12 08:45:48 2006 +0000 +++ b/src/audio/mint/SDL_mintaudio_xbios.c Tue Sep 12 19:23:51 2006 +0000 @@ -83,7 +83,8 @@ unsigned long dummy; const char *envr = SDL_getenv("SDL_AUDIODRIVER"); - SDL_MintAudio_mint_present = (Getcookie(C_MiNT, &dummy) == C_FOUND); + /*SDL_MintAudio_mint_present = (Getcookie(C_MiNT, &dummy) == C_FOUND);*/ + SDL_MintAudio_mint_present = SDL_FALSE; /* We can't use XBIOS in interrupt with Magic, don't know about thread */ if (Getcookie(C_MagX, &dummy) == C_FOUND) { @@ -467,7 +468,8 @@ } else { /* Install interrupt */ Jdisint(MFP_DMASOUND); - Xbtimer(XB_TIMERA, 8, 1, SDL_MintAudio_XbiosInterrupt); + /*Xbtimer(XB_TIMERA, 8, 1, SDL_MintAudio_XbiosInterrupt);*/ + Xbtimer(XB_TIMERA, 8, 1, SDL_MintAudio_Dma8Interrupt); Jenabint(MFP_DMASOUND); if (Setinterrupt(SI_TIMERA, SI_PLAY) < 0) {