Solved Question about OSS

Hi,

I'm coming from Linux, I looked into FreeBSD's /dev directory and there are a[]lot of dsp devices, so FreeBSD is using OSS[](correct me if I am wrong). Then I applied the installation with pkg install oss, but when I wanted to run ossxmix there was an error
Code:
SNDCTL_MIX_NRMIX: Invalid argument
Error: OSS version 4.0 or later is required
But pkg installed OSS 4.2, I don't understand, what should I do?
 
There are two versions of OSS. One version is OSS which comes with the system. There is also a version which used to be proprietary which you just installed from ports. Those two versions are mutually exclusive. I have not used FreeBSD as a desktop for over seven years but the last time OSS from ports had more drivers for crappy (cheap) audio cards. However, IIRC OSS in the base was completely redone in the meantime and I think you should stick with it. The ossmix error that you see is due to mixing these two.
 
Hi,

I'm coming from Linux, I looked into FreeBSD's /dev directory and there are a[]lot of dsp devices, so FreeBSD is using OSS[](correct me if I am wrong). Then I applied the installation with pkg install oss, but when I wanted to run ossxmix there was an error
Code:
SNDCTL_MIX_NRMIX: Invalid argument
Error: OSS version 4.0 or later is required
But pkg installed OSS 4.2, I don't understand, what should I do?

Avoid using packages, use ports(5). Also, the kernel comes with OSS modules. If you don't like the kernel's OSS you must edit the kernel configuration file, comment the sound section, compile a new kernel and THEN install audio/oss (OSSv4).
 
Thank you all for reply, first off all I started this topic because I didn't know how to use mixer... >.< Then I checked manual pages and everything is fine now. The problem was when I used xine for movies, xine uses pcm for audio adjusting. When I watched the movie I lowered down the volume and exited xine. Then I started xmms and I didn't hear audio output, when I typed mixer in terminal, pcm was on 14... Just mixer -s vol xx :D Cool stuff :D
 
Back
Top