comparison src/audio/dc/aica.h @ 509:dad72daf44b3

Added initial support for Dreamcast (thanks HERO!)
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Oct 2002 16:50:56 +0000
parents
children d910939febfa
comparison
equal deleted inserted replaced
508:9ff7e90aaa94 509:dad72daf44b3
1 #ifndef _AICA_H_
2 #define _AICA_H_
3
4 #define AICA_MEM 0xa0800000
5
6 #define SM_8BIT 1
7 #define SM_16BIT 0
8 #define SM_ADPCM 2
9
10 void aica_play(int ch,int mode,unsigned long smpptr,int looptst,int loopend,int freq,int vol,int pan,int loopflag);
11 void aica_stop(int ch);
12 void aica_vol(int ch,int vol);
13 void aica_pan(int ch,int pan);
14 void aica_freq(int ch,int freq);
15 int aica_get_pos(int ch);
16
17 #endif