src/audio/SDL_mixer.c
changeset 746 72ef7ce609ef
parent 739 22dbf364c017
child 769 b8d311d90021
equal deleted inserted replaced
745:71ee03909f42 746:72ef7ce609ef
   144 				SDL_MixAudio_MMX_S8((char*)dst,(char*)src,(unsigned int)len,(int)volume);
   144 				SDL_MixAudio_MMX_S8((char*)dst,(char*)src,(unsigned int)len,(int)volume);
   145 			}
   145 			}
   146 			else
   146 			else
   147 #endif
   147 #endif
   148 #if defined(USE_ASM_MIXER_VC)
   148 #if defined(USE_ASM_MIXER_VC)
   149 			if (SDL_IsMMX_VC())
   149 			if (SDL_HasMMX())
   150 			{
   150 			{
   151 				SDL_MixAudio_MMX_S8_VC((char*)dst,(char*)src,(unsigned int)len,(int)volume);
   151 				SDL_MixAudio_MMX_S8_VC((char*)dst,(char*)src,(unsigned int)len,(int)volume);
   152 			}
   152 			}
   153 			else
   153 			else
   154 #endif
   154 #endif
   190 			{
   190 			{
   191 				SDL_MixAudio_MMX_S16((char*)dst,(char*)src,(unsigned int)len,(int)volume);
   191 				SDL_MixAudio_MMX_S16((char*)dst,(char*)src,(unsigned int)len,(int)volume);
   192 			}
   192 			}
   193 			else
   193 			else
   194 #elif defined(USE_ASM_MIXER_VC)
   194 #elif defined(USE_ASM_MIXER_VC)
   195 			if (SDL_IsMMX_VC())
   195 			if (SDL_HasMMX())
   196 			{
   196 			{
   197 				SDL_MixAudio_MMX_S16_VC((char*)dst,(char*)src,(unsigned int)len,(int)volume);
   197 				SDL_MixAudio_MMX_S16_VC((char*)dst,(char*)src,(unsigned int)len,(int)volume);
   198 			}
   198 			}
   199 			else
   199 			else
   200 #endif
   200 #endif