Displaying 1 result from an estimated 1 matches for "wave_drv".
2010 Nov 14
0
freebsd oss sound dsp scheme
....mixer_name = HeapAlloc(GetProcessHeap(),0,13);
sprintf(WOutDev[i].ossdev.mixer_name, "/dev/mixer%u", i);
}
************************
I don't know what exactly /dev/dsp device is create with other snd drivers, but in my case it is /dev/dsp0.0.
To get fully work 6 wave_drv channels, i set some sysctls:
sysctl dev.pcm.0.play.vchans=6
sysctl dev.pcm.0.rec.vchans=6
sysctl hw.snd.maxautovchans=6
I think this is workaround for problems with audio under Linux, but in case of FreeBSD it is clear, so autodetection should be possible in this respect.
Sorry for my english....