MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

DaRayu
MAME Fan
Reged: 02/05/13
Posts: 162
Send PM
Sound propblems with vsync and games >= 60 Hz
04/22/13 11:33 PM


Does the following happen to you too? When you play a game in MAME and have vsync enabled and if your monitor is set to 60 Hz and the game runs at 60 Hz as well, then every few seconds the sound will "stumble".

This can be observed very well in "Street Fighter II": MAME 0.126 was the last version where the game was set to 60.0 Hz. In MAME 0.127, it was set to 59.61 Hz.
If I play it in 0.126 and just let the introduction music play, the sound will stumble after a while. For a very short moment, the sound will trip and then continue normally. This happens periodically.
Then, one version later, in 0.127, where the refresh rate lies less than half a Hertz below the screen refresh rate, the sound will play totally smoothly without ever having a problem.

Do you experience the same problem? And can this be prevented?
For "Street Fighter II" itself it's not a problem anymore. And for games that don't scroll, like "Pac-Man", I can just disable vsync since it's not really needed. But how do I resolve this sound problem in games that scroll and run at 60 Hz, like "Vs. Super Mario Bros."?







Entire thread
Subject Posted by Posted on
* Sound propblems with vsync and games >= 60 Hz DaRayu 04/22/13 11:33 PM
. * Re: Sound propblems with vsync and games >= 60 Hz R. Belmont  04/24/13 07:37 PM
. * Re: Sound propblems with vsync and games >= 60 Hz DaRayu  04/24/13 08:09 PM
. * Re: Sound propblems with vsync and games >= 60 Hz R. Belmont  04/25/13 04:59 PM
. * Re: Sound propblems with vsync and games >= 60 Hz Marcelo_20XX  04/29/13 08:30 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 547 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1753