kurokama / nulldc

Automatically exported from code.google.com/p/nulldc
0 stars 0 forks source link

Sound stream delay needs to be reduced [affects Space Channel 5 & co] #263

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I thought I was just getting old and couldn't time these games well anymore, 
but after particularly bad efforts at both of these in nullDC I tried them on a 
real Dreamcast and did much, much better.

It seems that either the timing window in these games is out of sync with the 
video/audio, or perhaps the window is much smaller?

I tried under both interpreter and dynarec, and also different control plugins, 
including keyboard. Could others verify please?

Tested on r78, I await your flames.

Original issue reported on code.google.com by matbur...@gmail.com on 13 Oct 2010 at 8:53

GoogleCodeExporter commented 8 years ago
This also applies to Samba De Amigo (original + ver.2000), the on-screen 
indicators don't sync with the music as they should - the music is late.

Original comment by matbur...@gmail.com on 13 Oct 2010 at 9:02

GoogleCodeExporter commented 8 years ago
On emulation, due to varius reasons, there is an extra delay on the sound. On 
nullDC, this depends on the sound buffer size. Its typical to be in the range 
of 60-80 msecs, which works well enough in most games -- except this kind of 
games.

There's not much that can be done, except trying a 'realtime' audio streaming 
api, but these aren't always available in PCs (ASIO, WaveRT, etc).

It is possible that the current audio code latency can be improved, but don't 
hold your breath about it ...

Original comment by drkIIRaziel on 16 Oct 2010 at 11:49

GoogleCodeExporter commented 8 years ago
Latency issues could be fixed using SPU2X?? should improve somewhat in Windows 
7 I think................

Original comment by et3...@gmail.com on 17 Oct 2010 at 4:52

GoogleCodeExporter commented 8 years ago
SPU2x -------->X-Audio 2? Maybe

Original comment by powercybershock on 17 Oct 2010 at 10:19