hello,

after recompiling a few times, my dga-xmame works - speed is ok. the
only drawback is the sound, i still cant get it working.

first i tried with oss of course, xmame mourns about a buggy oss and
switching back to timer mode. when playing "ghouls" the sound clicks and
is very slow, when playing pacman the sound speed is ok but it has some
clicking in it. playing around with the bufsize did not help.

then i tried esound and got it working (i think):

xmame.x11 ghouls
[rom blah]
XDGA: info: found 53 modes:
OSD: Info: Ideal mode for this game = 384x224
VidMode Switching To Mode: 384 x 240
XF86-DGA2 running at: 16bpp
Using 16bpp video mode
Game uses 4096 colors
error: /dev/dsp: Device or resource busy
info: sysdep_dsp: using esound plugin
info: dsp: using timer based audio
info: sysdep_mixer: using oss plugin


but still the same problems. my soundcard is

Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear
SoundFusion Audio Accelerator] (rev 1).

my xmamerc is attached. any help would be nice.


best regards,
clemens



-- 


* Spammers read: root@localhost [EMAIL PROTECTED] 
### xmame running parameters ###

### Digital sound related ###
# dsp-plugin            <NULL> (not set)
timer                   1

### Sound mixer related ###
# sound-mixer-plugin    <NULL> (not set)

### Video Related ###
bpp                     0
heightscale             1
widthscale              1
autodouble              1
dirty                   1
scanlines               1
artwork                 0
frameskipper            0
throttle                1
sleepidle               0
autoframeskip           1
maxautoframeskip        8
frameskip               0
brightness              100
gamma-correction        1.000000

### Vector Games Related ###
# vectorres             <NULL> (not set)
beam                    1.000000
flicker                 0.000000
antialias               1
translucency            1

### X11 Related ###
x11-mode                0

### X11-window Related ###
cursor                  1
mitshm                  1
xsync                   1
privatecmap             0
xil                     1
mtxil                   0
run-in-root-window      0
root_window_id          0
geometry                640x480

### XFree86 DGA Related ###
DGA                     1

### Video Mode Selection Related ###
keepaspect              1
displayaspectratio      1.330000

### X11-input related ###
grabmouse               0
winkeys                 0

### Sound Related ###
sound                   1
samples                 1
samplefreq              22050
bufsize                 3.000000
volume                  -3
# audiodevice           <NULL> (not set)
# mixerdevice           <NULL> (not set)

### Input Related ###
joytype                 0
analogstick             0
mouse                   1

### Fileio Related ###
rompath                 /usr/games/lib/xmame:.
spooldir                /usr/games/lib/xmame
screenshotdir           .
cheatfile               /usr/games/lib/xmame/cheat.dat
hiscorefile             /usr/games/lib/xmame/hiscore.dat
historyfile             /usr/games/lib/xmame/history.dat
mameinfofile            /usr/games/lib/xmame/mameinfo.dat

### Mame Related ###
defaultgame             pacman
language                english
fuzzycmp                1
cheat                   0
debug                   0

### Frontend Related ###
clones                  1

### Internal verification list commands (only for developers) ###

### Rom Identification Related ###

### General Options ###

### X11 keymapping ###
#
# mapkey        <Xcode>,<Scancode>
#
# Xcode means the HEX code of the key as appears in /usr/include/X11/keysymdef.h
# Scancode means the hexadecimal code that represents the value used for Xmame
#       in keyboard inputs, as defined in src/unix/keyboard.h xmame source file
# IMPORTANT: 
#       1- Due to some limitations, only LATIN-1 X-codes ( 0x0000-0x00ff ) and
#       Especial X-keycodes ( 0xff00-0xffff ) are supported
#       2- Some keys are keyboard dependent: As Xmame works internally with
#       Standard US-AT keyboard codes, you must take care in remmaping some keys
#

# An example: map space as "firebutton" (Mame predefines it as KEY_LCONTROL)
# in symbolic Xlib/Mame notation it should be:
#
# mapkey XK_space,KEY_LCONTROL 
# 
# So, looking in X11/keysymdef.h and src/unix/keyboard.h, we'll write
# mapkey 0x0020,0x001d
#
# (Other example). To use the F8 key to insert a coin, you should use
# mapkey 0xffc5,0x0006

### suggested german keymap mods by Peter Trauner <[EMAIL PROTECTED]> ###
#mapkey 0xfe52,0x0029
#mapkey 0x00df,0x000c
#mapkey 0xfe51,0x000d
#mapkey 0x00fc,0x001a
#mapkey 0x002b,0x001b
#mapkey 0x00f6,0x0027
#mapkey 0x00e4,0x0028
#mapkey 0x0023,0x002b
#mapkey 0x0059,0x002c
#mapkey 0x005a,0x0015
#mapkey 0x002d,0x0035

### SDL keymapping ###
#
# sdlmapkey     <SDLcode>,<Scancode>
#
# SDLcode means the HEX code of the key as it appears in 
#       include/SDL/SDL_keysym.h
# Scancode means the hexadecimal code that represents the value used for Xmame
#       in keyboard inputs, as defined in src/unix/keyboard.h xmame source file
#

# An example: map space as "firebutton" (Mame predefines it as KEY_LCONTROL)
# in symbolic SDL/Mame notation it should be:
#
# sdlmapkey SDLK_SPACE,KEY_LCONTROL 
# 
# So, looking in X11/keysymdef.h and src/unix/keyboard.h, we'll write
# sdlmapkey 0x0020,0x001d
#
# (Other example). To use the F8 key to insert a coin, you should use
# sdlmapkey 0x0121,0x0006

Reply via email to