Sound fix in CSB4Win
Posted: Sun Aug 26, 2001 1:48 pm
Just got this, and started looking through the code... I noticed the sound was playing at the wrong speed...
changing these two lines of code
WavBuf->nSamplesPerSecond = 7000;
WavBuf->nAvgBytesPerSec = 7000
to this
WavBuf->nSamplesPerSecond = 5000;
WavBuf->nAvgBytesPerSec = 5000
fixed it tho...
As an aside tho... *why* did you convert the *atari* version. Tho I had an ST, and loved it to bits (er, literally), the 16 colours, palette switching on a vblank, all that, is going to make improving this a pain... ah well
changing these two lines of code
WavBuf->nSamplesPerSecond = 7000;
WavBuf->nAvgBytesPerSec = 7000
to this
WavBuf->nSamplesPerSecond = 5000;
WavBuf->nAvgBytesPerSec = 5000
fixed it tho...
As an aside tho... *why* did you convert the *atari* version. Tho I had an ST, and loved it to bits (er, literally), the 16 colours, palette switching on a vblank, all that, is going to make improving this a pain... ah well