http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/src/jhs/sys/dev/sound/pcm/channel.h.REL=ALL.diff

Experimental patch for my slow 7-PRERELEASE hosts by jhs@@berklix.com
to allow more than hw.snd.latency=10 in /boot/loader.conf

It applies & runs, but if you use above 10, no sound.

If you reduce to 5, sound seems somewhat worse, more interrupted,
but even with this patch, beyond 10 it goes silent.

See Also http://www.berklix.com/~jhs/hardware/laptops/index.html#sound

*** 7.0-PRERELEASE-ctm-79/src/sys/dev/sound/pcm/channel.h	Wed Jan 16 16:19:03 2008
--- jhs-experimental/src/sys/dev/sound/pcm/channel.h	Wed Jan 16 16:20:37 2008
***************
*** 343,349 ****
  #define CHN_N_TRIGGER		0x00000010
  
  #define CHN_LATENCY_MIN		0
! #define CHN_LATENCY_MAX		10
  #define CHN_LATENCY_DEFAULT	5
  #define CHN_POLICY_MIN		CHN_LATENCY_MIN
  #define CHN_POLICY_MAX		CHN_LATENCY_MAX
--- 343,350 ----
  #define CHN_N_TRIGGER		0x00000010
  
  #define CHN_LATENCY_MIN		0
! /* #define CHN_LATENCY_MAX	10	JJDEBUG */
! #define CHN_LATENCY_MAX		40	/* used by channel.c & feeder.c */
  #define CHN_LATENCY_DEFAULT	5
  #define CHN_POLICY_MIN		CHN_LATENCY_MIN
  #define CHN_POLICY_MAX		CHN_LATENCY_MAX

