X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfsound%2Fexternals.h;h=c9f20ca8ec946438e523de895975d8ede4bac911;hp=c69af81584553d467e9138b5c83e9d5e6eecf98b;hb=be1cb678c445cb8d9a4d707c698f0dc600a490ea;hpb=381ea10346ab85b2f2d46f33d28461211e239c0a diff --git a/plugins/dfsound/externals.h b/plugins/dfsound/externals.h index c69af815..c9f20ca8 100644 --- a/plugins/dfsound/externals.h +++ b/plugins/dfsound/externals.h @@ -107,19 +107,16 @@ typedef struct int spos; int sinc; - unsigned char * pStart; // start ptr into sound mem unsigned char * pCurr; // current pos in sound mem unsigned char * pLoop; // loop ptr in sound mem unsigned int bStop:1; // is channel stopped (sample _can_ still be playing, ADSR Release phase) unsigned int bReverb:1; // can we do reverb on this channel? must have ctrl register bit, to get active - unsigned int bIgnoreLoop:1; // ignore loop bit, if an external loop address is used unsigned int bRVBActive:1; // reverb active flag unsigned int bNoise:1; // noise active flag unsigned int bFMod:2; // freq mod (0=off, 1=sound channel, 2=freq channel) + unsigned int bJump:1; // last decoded block jumped - int iActFreq; // current psx pitch - int iUsedFreq; // current pc pitch int iLeftVolume; // left volume int iRightVolume; // right volume ADSRInfoEx ADSRX; @@ -199,6 +196,9 @@ extern unsigned char * spuMemC; extern unsigned char * pSpuIrq; extern unsigned char * pSpuBuffer; +#define regAreaGet(ch,offset) \ + regArea[((ch<<4)|(offset))>>1] + // user settings extern int iVolume; @@ -227,6 +227,7 @@ extern int bSpuInit; extern unsigned int dwNewChannel; extern unsigned int dwChannelOn; extern unsigned int dwPendingChanOff; +extern unsigned int dwChannelDead; extern int SSumR[]; extern int SSumL[];