src/audio/SDL_mixer_MMX_VC.h
author Sam Lantinga
Mon, 06 Feb 2006 08:28:51 +0000
changeset 1330 450721ad5436
parent 746 72ef7ce609ef
child 1402 d910939febfa
permissions -rw-r--r--
It's now possible to build SDL without any C runtime at all on Windows,
using Visual C++ 2005
slouken@1330
     1
#ifdef _MSC_VER
slouken@1330
     2
#define USE_ASM_MIXER_VC
slouken@1330
     3
#endif
slouken@746
     4
#if defined(USE_ASM_MIXER_VC)
slouken@574
     5
// headers for MMX assembler version of SDL_MixAudio
slouken@574
     6
// Copyright 2002 Stephane Marchesin (stephane.marchesin@wanadoo.fr)
slouken@574
     7
// Converted to Intel ASM notation by Cth
slouken@574
     8
// This code is licensed under the LGPL (see COPYING for details)
slouken@574
     9
// 
slouken@574
    10
// Assumes buffer size in bytes is a multiple of 16
slouken@574
    11
// Assumes SDL_MIX_MAXVOLUME = 128
slouken@574
    12
slouken@574
    13
void SDL_MixAudio_MMX_S16_VC(char* ,char* ,unsigned int ,int );
slouken@574
    14
void SDL_MixAudio_MMX_S8_VC(char* ,char* ,unsigned int ,int );
slouken@574
    15
#endif