Main > Main Forum
MAME V0.130 - Stuttering sound - Advice please!
<< < (2/3) > >>
BASS!:
Hey you can always compile a .105 using the same method. You just need the 105 source code, and a rollback romset. Compile mame and then run your roms through clrmamepro, and your set. Your almost there:-). Hey turncades, you sure about that mame revision? I have used many, including some of the .8 series. I think there is a post on the mameworld forums that has a breakdown of the versions compared to system specs.
SirPeale:
Hold on now...it might be a config issue.  Post your mame.ini.
DeLuSioNal29:

--- Quote from: Peale on March 18, 2009, 06:17:32 pm ---Hold on now...it might be a config issue.  Post your mame.ini.

--- End quote ---
I agree with Peale.  It may be a matter of changing your sample rate in the mame.ini file from 44100 to 22100, which will improve performance.


--- Code: ---samplerate              44100

--- End code ---
slapaham:
This is the ini in full (sorry if thats a bit excessive - just thought I'd be on the safe side!) -

<UNADORNED0>             

#
# CORE CONFIGURATION OPTIONS
#
readconfig                1

#
# CORE SEARCH PATH OPTIONS
#
rompath                   roms
samplepath                samples
artpath                   artwork
ctrlrpath                 ctrlr
inipath                   .;ini
fontpath                  .
cheatpath                 cheat

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory             cfg
nvram_directory           nvram
memcard_directory         memcard
input_directory           inp
state_directory           sta
snapshot_directory        snap
diff_directory            diff
comment_directory         comments

#
# CORE STATE/PLAYBACK OPTIONS
#
state                     
autosave                  0
playback                 
record                   
mngwrite                 
aviwrite                 
wavwrite                 
snapname                  %g/%i
snapsize                  auto
snapview                  internal

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip             0
frameskip                 0
seconds_to_run            0
throttle                  1
sleep                     1
speed                     1.0
refreshspeed              0

#
# CORE ROTATION OPTIONS
#
rotate                    1
ror                       0
rol                       0
autoror                   0
autorol                   0
flipx                     0
flipy                     0

#
# CORE ARTWORK OPTIONS
#
artwork_crop              0
use_backdrops             1
use_overlays              1
use_bezels                1

#
# CORE SCREEN OPTIONS
#
brightness                1.0
contrast                  1.0
gamma                     1.0
pause_brightness          0.65

#
# CORE VECTOR OPTIONS
#
antialias                 1
beam                      1.0
flicker                   0

#
# CORE SOUND OPTIONS
#
sound                     1
samplerate                48000
samples                   1
volume                    0

#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     
mouse                     0
joystick                  1
lightgun                  0
multikeyboard             0
multimouse                0
steadykey                 0
offscreen_reload          0
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             keyboard
adstick_device            keyboard
pedal_device              keyboard
dial_device               keyboard
trackball_device          keyboard
lightgun_device           keyboard
positional_device         keyboard
mouse_device              mouse

#
# CORE DEBUGGING OPTIONS
#
log                       0
verbose                   0
update_in_pause           0
debug                     0
debugscript               

#
# CORE MISC OPTIONS
#
bios                     
cheat                     0
skip_gameinfo             0
disable_hiscore_patch     1
disable_crosshair_patch   1
disable_nagscreen_patch   0
disable_loading_patch     0

#
# WINDOWS DEBUGGING OPTIONS
#
oslog                     0
watchdog                  0
debugger_font             "Lucida Console"
debugger_font_size        9

#
# WINDOWS PERFORMANCE OPTIONS
#
priority                  0
multithreading            0

#
# WINDOWS VIDEO OPTIONS
#
video                     d3d
numscreens                1
window                    0
maximize                  1
keepaspect                1
prescale                  1
effect                    none
waitvsync                 0
syncrefresh               0

#
# DIRECTDRAW-SPECIFIC OPTIONS
#
hwstretch                 1

#
# DIRECT3D-SPECIFIC OPTIONS
#
d3dversion                9
filter                    1

#
# PER-WINDOW VIDEO OPTIONS
#
screen                    auto
aspect                    auto
resolution                auto
view                      auto
screen0                   auto
aspect0                   auto
resolution0               auto
view0                     auto
screen1                   auto
aspect1                   auto
resolution1               auto
view1                     auto
screen2                   auto
aspect2                   auto
resolution2               auto
view2                     auto
screen3                   auto
aspect3                   auto
resolution3               auto
view3                     auto

#
# FULL SCREEN OPTIONS
#
triplebuffer              0
switchres                 0
full_screen_brightness    1.0
full_screen_contrast      1.0
full_screen_gamma         1.0

#
# WINDOWS SOUND OPTIONS
#
audio_latency             2

#
# INPUT DEVICE OPTIONS
#
dual_lightgun             0


Well, my sample rate is even higher than you expected. However, that doesn't quite explain the slowdown in Grand Striker 2 (however, this is the only game I have noticed any change in other than sound so far - and this hasn't achieved 100% perfect emulation in MAME yet anyway!) So, if I was to change the samplerate down to 22100 then that should rid me of stuttery sound?

I've compiled a 0.105 now anyway and I'm in the process of compiling the roms - what are people's suggestion to achieving the best perfromance for my cab? I will upgrade the RAM regardless, but what would be the best option? 0.105 or 0.130?

Thanks for all your help everyone, appreciate this!
slapaham:
While I'm at it and I've got the ini posted up, I may as well ask, some of my games have a black bar to the left of the screen, I'm guessing this is a resolution problem? Is there anything inside the ini which I can change so that all games run at full screen? Thanks again! :)
Navigation
Message Index
Next page
Previous page

Go to full version