It's not a "go directly to the point" question, but what is the best way to sync audio and video??
I have a DSound class that Disch once gave me and it works pretty well. You just init the sound system and then use sound->Start() and sound->CanWrite() wich returs how much the buffer is emptied.
There is a thing here: i can sync all the emu to sound, but the video gets scratched and at the other side if i force Direct3d9 to sync to VBlank i have sound problems.
Any clue?
I have a DSound class that Disch once gave me and it works pretty well. You just init the sound system and then use sound->Start() and sound->CanWrite() wich returs how much the buffer is emptied.
There is a thing here: i can sync all the emu to sound, but the video gets scratched and at the other side if i force Direct3d9 to sync to VBlank i have sound problems.
Any clue?