comparison src/psf2/peops2/regs.h @ 2737:62cc6d667119

Import a bunch of stuff for new psf2 plugin.
author William Pitcock <nenolod@atheme.org>
date Mon, 30 Jun 2008 20:20:53 -0500
parents
children
comparison
equal deleted inserted replaced
2731:324f950774cb 2737:62cc6d667119
1 /***************************************************************************
2 regs.h - description
3 -------------------
4 begin : Wed May 15 2002
5 copyright : (C) 2002 by Pete Bernert
6 email : BlackDove@addcom.de
7 ***************************************************************************/
8
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. See also the license.txt file for *
15 * additional informations. *
16 * *
17 ***************************************************************************/
18
19 //*************************************************************************//
20 // History of changes:
21 //
22 // 2004/04/04 - Pete
23 // - changed plugin to emulate PS2 spu
24 //
25 // 2002/05/15 - Pete
26 // - generic cleanup for the Peops release
27 //
28 //*************************************************************************//
29
30
31 void SoundOn(int start,int end,unsigned short val);
32 void SoundOff(int start,int end,unsigned short val);
33 void VolumeOn(int start,int end,unsigned short val,int iRight);
34 void FModOn(int start,int end,unsigned short val);
35 void NoiseOn(int start,int end,unsigned short val);
36 void SetVolumeL(unsigned char ch,short vol);
37 void SetVolumeR(unsigned char ch,short vol);
38 void SetPitch(int ch,unsigned short val);
39 void ReverbOn(int start,int end,unsigned short val,int iRight);
40 void SetReverbAddr(int core);
41
42 EXPORT_GCC void CALLBACK SPU2write(unsigned long reg, unsigned short val);
43