From owner-freebsd-emulation Mon May 10 7:24:51 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from support.euronet.nl (support.euronet.nl [194.134.32.134]) by hub.freebsd.org (Postfix) with ESMTP id EDBD41569B for ; Mon, 10 May 1999 07:24:47 -0700 (PDT) (envelope-from pieterw@support.euronet.nl) Received: (from pieterw@localhost) by support.euronet.nl (8.9.1/8.9.1) id QAA10702 for freebsd-emulation@freebsd.org; Mon, 10 May 1999 16:24:46 +0200 (CEST) (envelope-from pieterw) Date: Mon, 10 May 1999 16:24:46 +0200 From: Pieter Westland To: freebsd-emulation@freebsd.org Subject: Xmame, pcm0 and sound Message-ID: <19990510162446.E22840@support.euronet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i X-OS: FreeBSD support.euronet.nl 2.2.7-STABLE FreeBSD 2.2.7-STABLE X-URL: http://support.euronet.nl/~pieterw X-Editor: vim X-Organization: EuroNet * Internet Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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