From owner-freebsd-questions@FreeBSD.ORG Mon Dec 13 18:02:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F35616A4CE for ; Mon, 13 Dec 2004 18:02:54 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D7C943D46 for ; Mon, 13 Dec 2004 18:02:54 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 13 Dec 2004 12:00:52 -0600 Message-ID: <41BDD963.1000502@daleco.biz> Date: Mon, 13 Dec 2004 12:03:15 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nikolas Britton References: <16829.40585.759971.425967@szamoca.krvarr.bc.ca> <41BDBC77.6030309@nbritton.org> In-Reply-To: <41BDBC77.6030309@nbritton.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Dec 2004 18:00:52.0728 (UTC) FILETIME=[AF863780:01C4E13D] cc: Sandy Rutherford cc: freebsd-questions@freebsd.org Subject: Re: Changing hw.snd.pcm0.buffersize in 4.10. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2004 18:02:54 -0000 Sandy Rutherford wrote: >> Is it possible to change the sysctl variable hw.snd.pcm0.buffersize >> (DMA buffer size for the soundcard) in FreeBSD 4.10? I know that in >> 5.x this is changed in devices.hints. I'm guessing that something in >> the kernel config file will do the job, but haven't been able to >> figure out what. >> >> I am trying to increase the buffersize to get rid of little skips in >> the playback, which I believe are caused by underruns. >> >> Thanks, >> Sandy > } Nikolas Britton wrote: } In FreeBSD 5.3 you can change the buffersize by adding } hint.pcm.0.buffersize="foo" to /boot/loader.conf, have you try'ed this with 4.x? I wonder if it wouldn't be: set hw.snd.pcm0.bufffersize=N in accordance with other variables in /boot/loader.help. OTOH, there was a note in /sys/i386/isa/sound/sound_config.h (as of March) that refers to using "make config" to change the DSP_BUFFERSIZE constant during, I assume, the kernel build operation. As I didn't start using FreeBSD on the desktop until 5.2 came out, I can't say that this is in anyway authoritative, and possibly isn't even helpful, though.... #uptime 11:57AM up 213 days, 21:35, 1 user, load averages: 0.00, 0.00, 0.00 I think I need to go update that box .... Kevin Kinsey