\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
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
- 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
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