From owner-freebsd-current@FreeBSD.ORG Mon Oct 25 06:38:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6575816A4CE for ; Mon, 25 Oct 2004 06:38:09 +0000 (GMT) Received: from md.gfk.ru (md.gfk.ru [62.205.179.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0768743D45 for ; Mon, 25 Oct 2004 06:38:08 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.hhp.local ([10.0.0.30]) by md.gfk.ru (md.gfk.ru [62.205.179.201]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 19-md50000000745.tmp for ; Mon, 25 Oct 2004 10:37:13 +0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Mon, 25 Oct 2004 10:37:12 +0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Mild sound distortion with FreeBSD 5.3-BETA7 Thread-Index: AcS4YQWVaMOevm5zRaGXnKiyn0bIngB9AjwQ From: "Yuriy Tsibizov" To: "Travis Poppe" X-Spam-Processed: md.gfk.ru, Mon, 25 Oct 2004 10:37:13 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: freebsd-current@freebsd.org cc: freebsd-current@freebsd.org Subject: RE: Mild sound distortion with FreeBSD 5.3-BETA7 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2004 06:38:09 -0000 > > I've recently noticed a mild sound distortion in XMMS and other > > applications that output sound. I'm not sure when I started noticing > > this, but I don't believe it has always been present in the=20 > 5.x branch > > (and if it has, I haven't noticed it up until a month or two ago). >=20 > I've found a solution to my sound problem. >=20 > I recently switched to this third party driver for SB=20 > Live!/Audigy cards:=20 >=20 > http://chibis.persons.gfk.ru/audigy/ >=20 > As far as I can tell, the sound distortion problem is _completely_ > gone. If any of you have this same problem and own an SB Live/Audigy, > try the driver I mentioned above. emu10kx has large default hardware buffer (4096*8), emu10k1 uses only = 4096 (one emu10k page).=20 You can make small change to emu10k1.c (#define EMU_DEFAULT_BUFSZ = EMUPAGESIZE*8) or set hint.pcm.0.buffersize=3D"32768" (assuming your card is pcm0)=20 in your kernel hints file and you should see better playback of long = files.=20 This change will also bring you problem with very small files=20 (less than EMU_DEFAULT_BUFSZ) - you will not hear them =20 or only hear a small portion, like first (?) 4096 bytes. Yuriy