Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2004 12:03:15 -0600
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        Nikolas Britton <freebsd@nbritton.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Changing hw.snd.pcm0.buffersize in 4.10.
Message-ID:  <41BDD963.1000502@daleco.biz>
In-Reply-To: <41BDBC77.6030309@nbritton.org>
References:  <16829.40585.759971.425967@szamoca.krvarr.bc.ca> <41BDBC77.6030309@nbritton.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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