Mercurial > sdl-ios-xcode
comparison src/audio/SDL_mixer_MMX.h @ 3628:4d46850be3f6
Merged r5070:5071 from branches/SDL-1.2: forcibly disable buggy MMX mixers.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 10 Jan 2010 07:48:14 +0000 |
parents | c121d94672cb |
children |
comparison
equal
deleted
inserted
replaced
3627:631173ffd68f | 3628:4d46850be3f6 |
---|---|
6 Assumes buffer size in bytes is a multiple of 16 | 6 Assumes buffer size in bytes is a multiple of 16 |
7 Assumes SDL_MIX_MAXVOLUME = 128 | 7 Assumes SDL_MIX_MAXVOLUME = 128 |
8 */ | 8 */ |
9 #include "SDL_config.h" | 9 #include "SDL_config.h" |
10 | 10 |
11 #if defined(SDL_BUGGY_MMX_MIXERS) /* buggy, so we're disabling them. --ryan. */ | |
11 #if defined(__GNUC__) && defined(__i386__) && defined(SDL_ASSEMBLY_ROUTINES) | 12 #if defined(__GNUC__) && defined(__i386__) && defined(SDL_ASSEMBLY_ROUTINES) |
12 void SDL_MixAudio_MMX_S16(char *, char *, unsigned int, int); | 13 void SDL_MixAudio_MMX_S16(char *, char *, unsigned int, int); |
13 void SDL_MixAudio_MMX_S8(char *, char *, unsigned int, int); | 14 void SDL_MixAudio_MMX_S8(char *, char *, unsigned int, int); |
14 #endif | 15 #endif |
16 #endif /* SDL_BUGGY_MMX_MIXERS */ | |
15 /* vi: set ts=4 sw=4 expandtab: */ | 17 /* vi: set ts=4 sw=4 expandtab: */ |