Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 2004 11:57:07 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        darron@kewl.org
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: Network diagrams ready 
Message-ID:  <200407041857.i64Iv7Ic083748@gw.catspoiler.org>
In-Reply-To: <60503.1088681781@bogus.kewl.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On  1 Jul, Darron Broad wrote:

> rufus# diff -u via82c686.c.orig via82c686.c
> --- via82c686.c.orig    Thu Jul  1 12:28:25 2004
> +++ via82c686.c Thu Jul  1 12:28:43 2004
> @@ -41,7 +41,7 @@
>  #define SEGS_PER_CHAN  (NSEGS/2)
>  
>  #define TIMEOUT        50
> -#define        VIA_DEFAULT_BUFSZ       0x1000
> +#define        VIA_DEFAULT_BUFSZ       0x8000
>  
>  #undef DEB
>  #define DEB(x)


> The change of VIA_DEFAULT_BUFSZ to 0x8000 is personal because I don't care
> about latency and the default value of 0x1000 is unusable on anything unless
> it happens to have a 100GHZ processort, and mine is onyl 800MHZ.
> 
> This has annoyed me for ages, how about some kind of sysctl for sound buffers?

Since this value only gets used in the device attach routine I think
this would have to be done with a device hint.  The sound player
application should already have the ability to change the buffer size to
something other than the default with a runtime ioctl().



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