oss.c on FreeBSD

Hello,

There are troubles running mocp on FreeBSD. By default it builds with OSSv3_MIXER undefined and so it can't connect to the mixer device. After manually defining OSSv3_MIXER i can get "pcm" channel working, but can't switch to "master", don't know why. So, probably there is a better way to define OSSv3_MIXER. May be by using SNDCTL_SYSINFO ?

FreeBSD 8.0-STABLE i386
mocp 2.5.0-alpha4 and latest svn

I've found the source of the latter problem, the new version (2.5.0-alpha4+) of oss_init() doesn't work for me.