|
|
| version 1.4, 2003/11/28 16:31:08 | version 1.5, 2004/05/22 16:35:08 |
|---|---|
| Line 94 static BOOL nosound_setup(void); | Line 94 static BOOL nosound_setup(void); |
| static void PARTSCALL (*fnmix)(SINT16* dst, const SINT32* src, UINT size); | static void PARTSCALL (*fnmix)(SINT16* dst, const SINT32* src, UINT size); |
| #if defined(__GNUC__) && (defined(i386) || defined(__i386__)) | #if defined(GCC_CPU_ARCH_IA32) |
| void PARTSCALL _saturation_s16(SINT16 *dst, const SINT32 *src, UINT size); | void PARTSCALL _saturation_s16(SINT16 *dst, const SINT32 *src, UINT size); |
| void PARTSCALL _saturation_s16x(SINT16 *dst, const SINT32 *src, UINT size); | void PARTSCALL _saturation_s16x(SINT16 *dst, const SINT32 *src, UINT size); |
| void PARTSCALL saturation_s16mmx(SINT16 *dst, const SINT32 *src, UINT size); | void PARTSCALL saturation_s16mmx(SINT16 *dst, const SINT32 *src, UINT size); |
| Line 349 void | Line 349 void |
| soundmng_setreverse(BOOL reverse) | soundmng_setreverse(BOOL reverse) |
| { | { |
| #if defined(__GNUC__) && (defined(i386) || defined(__i386__)) | #if defined(GCC_CPU_ARCH_IA32) |
| if (!reverse) { | if (!reverse) { |
| if (mmxflag & (MMXFLAG_NOTSUPPORT|MMXFLAG_DISABLE)) { | if (mmxflag & (MMXFLAG_NOTSUPPORT|MMXFLAG_DISABLE)) { |
| fnmix = _saturation_s16; | fnmix = _saturation_s16; |
| Line 646 snddrv_stop(void) | Line 646 snddrv_stop(void) |
| #endif /* USE_NETBSDAUDIO || USE_OSSAUDIO || USE_ESDAUDIO */ | #endif /* USE_NETBSDAUDIO || USE_OSSAUDIO || USE_ESDAUDIO */ |
| #if defined(__GNUC__) && (defined(i386) || defined(__i386__)) | #if defined(GCC_CPU_ARCH_IA32) |
| void PARTSCALL | void PARTSCALL |
| _saturation_s16(SINT16 *dst, const SINT32 *src, UINT size) | _saturation_s16(SINT16 *dst, const SINT32 *src, UINT size) |
| { | { |
| Line 746 saturation_s16mmx(SINT16 *dst, const SIN | Line 746 saturation_s16mmx(SINT16 *dst, const SIN |
| : /* output */ | : /* output */ |
| : "m" (dst), "m" (src), "m" (size)); | : "m" (dst), "m" (src), "m" (size)); |
| } | } |
| #endif /* __GNUC__ && (i386 || __i386__) */ | #endif /* __GNUC__ && GCC_CPU_ARCH_IA32 */ |
| #endif /* !NOSOUND */ | #endif /* !NOSOUND */ |