view src/audio/SDL_mixer_MMX.h @ 1137:0f9d463bf09c

Byte order detection fixes in SDL_endian.h ... --ryan. From: Mike Frysinger <vapier@gentoo.org> To: sdl@libsdl.org Date: Thu, 1 Sep 2005 20:25:01 -0400 Subject: [SDL] [patch] add support for arm/thumb and superh to endian find attached a patch to add support for detecting endian on superh and arm/thumb ... also, ive incorporated a patch from Fedora which will gather the correct endian on a linux host from the system endian.h instead of just trying to maintain an ever-growing list of architectures -mike
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 08 Sep 2005 06:49:20 +0000
parents e3b3130f3af8
children d910939febfa
line wrap: on
line source

/*
    headers for MMX assembler version of SDL_MixAudio
    Copyright 2002 Stephane Marchesin (stephane.marchesin@wanadoo.fr)
    This code is licensed under the LGPL (see COPYING for details)

    Assumes buffer size in bytes is a multiple of 16
    Assumes SDL_MIX_MAXVOLUME = 128
*/


#if defined(i386) && defined(__GNUC__) && defined(USE_ASMBLIT)
void SDL_MixAudio_MMX_S16(char* ,char* ,unsigned int ,int );
void SDL_MixAudio_MMX_S8(char* ,char* ,unsigned int ,int );
#endif