Ariff Abdullah wrote: > Ok, this probably weird, but please try enabling vchans early enough > before login/X. You have either hw.snd.maxautovchans or > hw.snd.pcm0.vchans to play with.
Adding "hw.snd.maxautovchans=4" to /etc/sysctl.conf fixed it. The tail
of the test script's output is attached.
Thanks!
Michael
uname -a
FreeBSD toshi.auburn.protected-networks.net 6.2-STABLE FreeBSD 6.2-STABLE #18:
Mon May 21 13:24:36 NZST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TOSHI
i386
pciconf -lv | grep -B 4 audio
sysctl hw.snd.verbose=2 ; cat /dev/sndstat
hw.snd.verbose: 1 -> 2
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel 82801G High Definition Audio Controller> at memory 0xf0b40000 irq
22 [20070505_0044] (1p/1r/1v channels duplex default)
[pcm0:play:0:dsp0.0]: spd 48000, fmt 0x10000010, flags 0x00103020,
0x00000040
interrupts 2814, underruns 0, ready 0 [b:8192/4096/2|bs:8192/4096/2]
{userland} -> feeder_vchan_s16(0x10000010) ->
feeder_volume_s16(0x10000010) -> {hardware}
[pcm0:record:0:dsp0.1]: spd 44100/48000, fmt 0x10000010, flags
0x00007030, 0x00000010, pid 1069
interrupts 2792, overruns 480, hfree 8192, sfree 40960
[b:8192/4096/2|bs:40960/4096/10]
{hardware} -> feeder_root(0x10000010) -> feeder_rate(48000 -> 44100) ->
{userland}
pcm0:play:0:dsp0.0[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt
0x10000010, flags 0x10007030, 0x00000010, pid 1069
interrupts 0, underruns 0, ready 40960 [b:0/4096/0|bs:40960/4096/10]
{userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) ->
{hardware}
sysctl hw.snd
hw.snd.report_soft_formats: 1
hw.snd.targetirqrate: 32
hw.snd.verbose: 2
hw.snd.maxautovchans: 4
hw.snd.unit: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 1
signature.asc
Description: OpenPGP digital signature
