Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 1999 16:24:46 +0200
From:      Pieter Westland <pieter@nl.euro.net>
To:        freebsd-emulation@freebsd.org
Subject:   Xmame, pcm0 and sound
Message-ID:  <19990510162446.E22840@support.euronet.nl>

next in thread | raw e-mail | index | archive | help
Hi,

I'm a happy user of xmame :)
The only problem with it is the sound. The sounds are cool, but much to slow
(high latency).
I contacted the maintainer of the xmame-project (Hans de Goede), and he told
me that more FreeBSD-users have problems with xmame and sound. In the mailing-
list-archive I could not find anything about this problem.

I use Luigi's sound driver (pcm0), with this kernel-config:

device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x15

Some examples when starting xmame:

-fragsize 4:

Setting fragsize to 8, numfrags to 5                
Fragsize = 40, Numfrags = 1632                                        

-fragsize 128:

Setting fragsize to 256, numfrags to 5
Fragsize = 256, Numfrags = 255          

It seems that when xmame.x11 asks a fragsize of 128, FreeBSD doubles it. And,
worse, when xmame asks a numfrags of 5, it doesn't use that number of numfrags
either.
Hans told me that this is the reason of the poor sound in xmame.

Xmame-version: X-Mame-0.35b12.1
System: AMDK6-233, 64 Mb, FreeBSD 3.1-STABLE (23-4-1999).

Does anyone have a clue?

Thanks,

Pieter
--
Lubarsky's Law of Cybernetic Entomology:
        There's always one more bug.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990510162446.E22840>