Mercurial > sdl-ios-xcode
annotate src/audio/SDL_mixer_MMX_VC.h @ 658:e71b7108d2d7
Use SDL's internal x, y for mouse button events - fixes relative motion bug.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 23 Jul 2003 05:30:08 +0000 |
parents | 64fe373be3dc |
children | 72ef7ce609ef |
rev | line source |
---|---|
574
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 // headers for MMX assembler version of SDL_MixAudio |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 // Copyright 2002 Stephane Marchesin (stephane.marchesin@wanadoo.fr) |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 // Converted to Intel ASM notation by Cth |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 // This code is licensed under the LGPL (see COPYING for details) |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 // |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 // Assumes buffer size in bytes is a multiple of 16 |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 // Assumes SDL_MIX_MAXVOLUME = 128 |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 #if defined(USE_ASM_MIXER_VC) |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 void SDL_MixAudio_MMX_S16_VC(char* ,char* ,unsigned int ,int ); |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 void SDL_MixAudio_MMX_S8_VC(char* ,char* ,unsigned int ,int ); |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 int SDL_IsMMX_VC(); |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 #endif |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 |
64fe373be3dc
Cth converted the MMX audio mixing routines to VC++ syntax
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 |