comparison src/audio/SDL_mixer_MMX.h @ 1019:e3b3130f3af8

Date: Fri, 31 Dec 2004 04:14:09 +0900 From: Hayashi Naoyuki Subject: SDL patch for Tru64 UNIX 4.0X SDL-1.2.8 support only Tru64 5.X. This patch is for Tru64 UNIX 4.X.(tested on Tru64 UNIX 4.0G and 5.1B) SDL-1.2.8/configure.in: ld doesn't accept -pthread option. cc -pthread has same effect as -D_REENTRANT when compiling, and has same effect as -lpthread -lexc when linking. SDL-1.2.8/include/begin_code.h: Old Compaq C Compiler accept not inline but __inline. SDL-1.2.8/src/audio/SDL_mixer_MMX.c: SDL-1.2.8/src/audio/SDL_mixer_MMX.h: Old Compaq C Compiler doesn't accept //. SDL-1.2.8/src/cdrom/osf/SDL_syscdrom.c: When becoming Tru64 v5.0 from Tru64 v4.0, the arrangement of the cd-rom device was changed.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 02 Jan 2005 05:05:21 +0000
parents a9e38f3b8e4d
children d910939febfa
comparison
equal deleted inserted replaced
1018:012af0b7e8e6 1019:e3b3130f3af8
1 // headers for MMX assembler version of SDL_MixAudio 1 /*
2 // Copyright 2002 Stephane Marchesin (stephane.marchesin@wanadoo.fr) 2 headers for MMX assembler version of SDL_MixAudio
3 // This code is licensed under the LGPL (see COPYING for details) 3 Copyright 2002 Stephane Marchesin (stephane.marchesin@wanadoo.fr)
4 // 4 This code is licensed under the LGPL (see COPYING for details)
5 // Assumes buffer size in bytes is a multiple of 16 5
6 // Assumes SDL_MIX_MAXVOLUME = 128 6 Assumes buffer size in bytes is a multiple of 16
7 Assumes SDL_MIX_MAXVOLUME = 128
8 */
7 9
8 10
9 #if defined(i386) && defined(__GNUC__) && defined(USE_ASMBLIT) 11 #if defined(i386) && defined(__GNUC__) && defined(USE_ASMBLIT)
10 void SDL_MixAudio_MMX_S16(char* ,char* ,unsigned int ,int ); 12 void SDL_MixAudio_MMX_S16(char* ,char* ,unsigned int ,int );
11 void SDL_MixAudio_MMX_S8(char* ,char* ,unsigned int ,int ); 13 void SDL_MixAudio_MMX_S8(char* ,char* ,unsigned int ,int );