This commit is contained in:
parent
2a65a60186
commit
f9b956d088
5 changed files with 110 additions and 23 deletions
|
@ -29,11 +29,33 @@
|
|||
Structure defintions
|
||||
-------------------- */
|
||||
|
||||
typedef struct ReverbDetails
|
||||
{
|
||||
long m_type;
|
||||
long m_delay;
|
||||
short m_depth;
|
||||
long m_feedback;
|
||||
};
|
||||
|
||||
|
||||
class CSpuSound
|
||||
{
|
||||
public:
|
||||
enum
|
||||
{
|
||||
REVERB_MAX_DEPTH=0x7fff,
|
||||
REVERB_MIN_DEPTH=-0x8000,
|
||||
REVERB_MIN_MODE_DELAY=0,
|
||||
REVERB_MAX_MODE_DELAY=127,
|
||||
REVERB_MIN_MODE_FEEDBACK=0,
|
||||
REVERB_MAX_MODE_FEEDBACK=127,
|
||||
};
|
||||
|
||||
void initialise();
|
||||
void shutdown();
|
||||
|
||||
void setReverbActive(int _active);
|
||||
void setReverbDetails(ReverbDetails *_details);
|
||||
|
||||
private:
|
||||
enum
|
||||
|
@ -43,7 +65,10 @@ private:
|
|||
};
|
||||
|
||||
static char s_spuManagementTable[];
|
||||
|
||||
|
||||
int m_reverbActive;
|
||||
ReverbDetails m_currentDetails;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue