Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: mlcampbe on August 30, 2006, 11:38:26 am

Title: Sound problems
Post by: mlcampbe on August 30, 2006, 11:38:26 am
I've got about 95% of my cabinet complete and it is playable. I have a problem with sound when playing games though.

When I start mamewah and it plays music there is no problem at all so I know it is not the speakers or connections.

However, in some (not necessarily all) games the sound is broken up and almost like static at some points. Problem games inlcude DK3 and Track and Field, and possibly others.

Is this a problem with a mame settings or with the sound from the games themselves?

I've tried editing my mamepp.ini file and setting the audio_latency=2 and samplerate=11025 but this did not seem to make any difference.

Any suggetsions?
Title: Re: Sound problems
Post by: ahofle on August 30, 2006, 11:44:56 am
That usually happens when the game is not running at full speed.  Check your frame rate with F11.  Also, are you by chance using "GDI" mode for video? 
Title: Re: Sound problems
Post by: mlcampbe on August 30, 2006, 12:35:02 pm
BTW my mame version is 0.89 if that matters.

I checked the framerate and it is between 94%-100% mostly staying around 100% at 60 fps.

As for the GDI mode how do you tell? I don't see anything in the mamepp.ini that says 'gdi' and I don't remember setting it but that was a while back!

I have the following set for windows video options:
triblebuffer-1, ddraw=1
Title: Re: Sound problems
Post by: ahofle on August 30, 2006, 03:21:56 pm
Do you notice if the frame rate is dropping below 100% when it's crackling (and conversely, is the sound OK when it's at 100%)?  If so, then it's probably MAME not being able to keep up with the emulation for whatever reason.  Try may want to try selecting a lower resolution or something to see if that helps.
Title: Re: Sound problems
Post by: krick on August 30, 2006, 03:37:07 pm
Triple bufffer will mess up the sound on demanding games, especially if you have borderline hardware.  Don't enable triple buffer globally in the mame.ini file, just selectively enable it in games that really need it (i.e. games that scroll vertically or horizontally) in their own game specific ini files.
Title: Re: Sound problems
Post by: mlcampbe on August 31, 2006, 01:05:20 pm
Disabling triplebuffer seems to have fixed the problem for now.
Thanks