Re: Network diagrams ready

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Sun, 4 Jul 2004 11:57:07 -0700 (PDT)
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
> _at__at_ -41,7 +41,7 _at__at_
>  #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().
Received on Sun Jul 04 2004 - 16:57:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC