notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spu: get rid of pCurr -1, pass right chans to silent handler
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
externals.h
diff --git
a/plugins/dfsound/externals.h
b/plugins/dfsound/externals.h
index
73134d0
..
5d72002
100644
(file)
--- a/
plugins/dfsound/externals.h
+++ b/
plugins/dfsound/externals.h
@@
-46,7
+46,8
@@
\r
// ~ 1 ms of data
\r
// note: must be even due to the way reverb works now
\r
\r
// ~ 1 ms of data
\r
// note: must be even due to the way reverb works now
\r
-#define NSSIZE 46
\r
+#define FRAG_MSECS 2
\r
+#define NSSIZE ((44100 * FRAG_MSECS / 1000 + 1) & ~1)
\r
\r
///////////////////////////////////////////////////////////
\r
// struct defines
\r
\r
///////////////////////////////////////////////////////////
\r
// struct defines
\r
@@
-121,17
+122,10
@@
typedef struct
int iUsedFreq; // current pc pitch
\r
int iLeftVolume; // left volume
\r
int iRightVolume; // right volume
\r
int iUsedFreq; // current pc pitch
\r
int iLeftVolume; // left volume
\r
int iRightVolume; // right volume
\r
- int s_1; // last decoding infos
\r
- int s_2;
\r
ADSRInfoEx ADSRX;
\r
int iRawPitch; // raw pitch (0...3fff)
\r
\r
ADSRInfoEx ADSRX;
\r
int iRawPitch; // raw pitch (0...3fff)
\r
\r
- int iRVBOffset; // reverb offset
\r
- int iRVBRepeat; // reverb repeat
\r
- int iRVBNum; // another reverb helper
\r
- int iOldNoise; // old noise val for this channel
\r
-
\r
- int SB[32+32];
\r
+ int SB[32+4];
\r
} SPUCHAN;
\r
\r
///////////////////////////////////////////////////////////
\r
} SPUCHAN;
\r
\r
///////////////////////////////////////////////////////////
\r
@@
-233,6
+227,7
@@
extern int bSpuInit;
extern unsigned int dwNewChannel;
\r
extern unsigned int dwChannelOn;
\r
extern unsigned int dwPendingChanOff;
\r
extern unsigned int dwNewChannel;
\r
extern unsigned int dwChannelOn;
\r
extern unsigned int dwPendingChanOff;
\r
+extern unsigned int dwChannelDead;
\r
\r
extern int SSumR[];
\r
extern int SSumL[];
\r
\r
extern int SSumR[];
\r
extern int SSumL[];
\r