Network diagrams ready
Don Lewis
truckman at FreeBSD.org
Sun Jul 4 11:57:14 PDT 2004
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().
More information about the freebsd-current
mailing list