Mercurial > sdl-ios-xcode
view src/audio/dc/aica.h @ 1148:63fb2da89a4b
Patched inline assembly to compile on gcc 4.0.1. Details are here:
http://bugs.gentoo.org/show_bug.cgi?id=104437
I believe the patch is from Harald van Dijk (comment #16 at the above url).
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 28 Sep 2005 02:26:29 +0000 |
parents | dad72daf44b3 |
children | d910939febfa |
line wrap: on
line source
#ifndef _AICA_H_ #define _AICA_H_ #define AICA_MEM 0xa0800000 #define SM_8BIT 1 #define SM_16BIT 0 #define SM_ADPCM 2 void aica_play(int ch,int mode,unsigned long smpptr,int looptst,int loopend,int freq,int vol,int pan,int loopflag); void aica_stop(int ch); void aica_vol(int ch,int vol); void aica_pan(int ch,int pan); void aica_freq(int ch,int freq); int aica_get_pos(int ch); #endif