view src/audio/SDL_mixer_MMX.h @ 1796:00ea6cf49a4e

Fixed bug #218 Currently there are two Classic-only drivers defined in "SDL_config_macos.h", and the ones in "SDL_config_macosx.h" are Mach-O/framework-only (i.e. not CFM) As a workaround, I disabled CDROM and JOYSTICK when building SDL for CFM Carbon.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 09 May 2006 15:14:48 +0000
parents dc6b59e925a2
children 782fd950bd46 c121d94672cb a8e5b518e194
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
*/
#include "SDL_config.h"

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