mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.64k stars 770 forks source link

Audio is not being synched properly when synching to video. #8

Open purpasmart96 opened 9 years ago

purpasmart96 commented 9 years ago

It sounds perfect when you disable Synch to Video, but that kind of defeats the purpose since synch to video is not enabled, thus the video is not being synched.

endrift commented 9 years ago

These aren't really expected to work together, as the only way to get them working is via a technique like Dynamic Rate Control, which I haven't had much luck implementing in the past. On OS X, it sometimes seems to work fine, but that seems to be coincidental.

purpasmart96 commented 9 years ago

Well that's odd, since 0.1.1 sounds perfect when using both. EDIT: Lowering the audio buffer helped a lot with the video tearing when not using synch to video. But that only applies to SDL.

endrift commented 9 years ago

Weird. I had plenty of problems with it on Windows with 0.1.1. But yeah, there's absolutely no guarantee that these should work together. I'd like to get DRC working though, so I might commandeer this issue for it.