From owner-freebsd-current@FreeBSD.ORG Tue Oct 26 22:50:10 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 814FD16A4CE for ; Tue, 26 Oct 2004 22:50:10 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F41043D5F for ; Tue, 26 Oct 2004 22:50:10 +0000 (GMT) (envelope-from tlpbsd@gmail.com) Received: by wproxy.gmail.com with SMTP id 65so273371wri for ; Tue, 26 Oct 2004 15:50:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=kNMyQmiS/4XY7r4PFkU9sdFhyKvWbCA0jnyjH4T2zAidMCPt/Zmcm+vMSyRjuskFbqD7HmLiar3WwL2b6UPWdSaUAJauKoCZRDLC3J0hwLqvg9l4YZzXn1FExHRipJ/23+VIVFoK05pXMWD3IoPdsKFCGY9xKHe/E9ZY6rGAm6Q= Received: by 10.38.13.79 with SMTP id 79mr546120rnm; Tue, 26 Oct 2004 15:50:09 -0700 (PDT) Received: by 10.38.24.9 with HTTP; Tue, 26 Oct 2004 15:50:09 -0700 (PDT) Message-ID: <9533da6c0410261550432bb1d5@mail.gmail.com> Date: Tue, 26 Oct 2004 16:50:09 -0600 From: Travis Poppe To: Suleiman Souhlal In-Reply-To: <1098771878.63451.5.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041019111518.1f6a76a4@maya.liquidx.org> <1098771878.63451.5.camel@localhost> cc: freebsd-current@freebsd.org cc: Travis Poppe Subject: Re: Mild sound distortion with FreeBSD 5.3-BETA7 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Travis Poppe List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 22:50:10 -0000 Thanks! This seems to be an effective workaround for the problem. However, what causes it in the first place? I don't recall having a problem with any of this in the 4.X series (the default buffer worked fine). -Travis On Tue, 26 Oct 2004 02:24:38 -0400, Suleiman Souhlal wrote: > Hello, > > On Tue, 2004-10-19 at 13:15, Travis Poppe wrote: > > 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 5.x branch > > (and if it has, I haven't noticed it up until a month or two ago). > > You should be able to fix it by using a bigger buffer. To do this, > change line 48 of src/sys/dev/sound/pci/emu10k1.c from: > > #define EMU_DEFAULT_BUFSZ 4096 > > To something like: > > #define EMU_DEFAULT_BUFSZ 8192 > > and recompile the kernel/modules. If this doesn't work, you can also try > using an even bigger buffer size, such as 16384, but then, you will have > a noticeable delay between the time you press play and start hearing the > music (it shouldn't be too bad, unless you play games). > > Bye. > -- > Suleiman Souhlal | ssouhlal@vt.edu > The FreeBSD Project | ssouhlal@FreeBSD.org > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >