TSAGE: Ringworld2 - Digitized percussion sounds slightly off
|Reported by:||eriktorbjorn||Owned by:|
|Cc:||Game:||Return to Ringworld|
English CD version of the game, current Git snapshot of ScummVM
At least when using AdLib music (which is all ScummVM seems to support at the moment; the original had a few other options like General MIDI and Roland MT-32) the game plays digitized sound effects for some percussion and stuff. Interesting idea, but unfortunately they're a bit off.
I'm attaching recordings of ScummVM and DOSBox. Though since the original game uses a very silly way of setting the volume, I had to amplify the DOSBox recording quite a bit. This is more of a "this doesn't sound as good as it should" than a "this doesn't sound as good as DOSBox" bug report, really.
It's possible the the problem is caused by latency in the ScummVM mixer. I'm guessing that playback of a sound doesn't actually happen until the current audio buffer has been drained, and I guess that could take a noticeable amount of time in a case like this. I don't really have any good ideas for fixing that, though.
Maybe it would be possible to have AdlibSoundDriver::readBuffer() handle the digitized sounds as well, though I still don't know how to properly synchronize them.
Ticket imported from: bugs/6467.