Quote by bukashka :
...By the way, do I understand correctly that I can use OSS instead of ALSA for playing WAV? What is the difference between them?..
.To expain in very simple way , prvsly OSS was a closed source app and available on Linux and Windoz platform. ALSA is a linux only software. To fix some shortfalls ALSA was created. But I think now OSS is also free and OSource.
ALSA can be divided in 3 parts :
1) Kernel drivers which provides API link to other 2 parts.
2) Other API is used by developers to communicate with ALSA
3) Another part can be used as a link btw first 2 APIs to produce sound with many diff softwares using ALSA API interface.
.. ALSA excells in sound mixing area and also allows sound mixing disabling option with optional sound mixing outside Kernel.
.. ALSA supports many more sound cards and interfaces which OSS upto v3.x were lacking in those times and hence ALSA was and still popular due to its support right from Kernel level.
... But problem with ALSA was it was not available on other OS platforms including Win,Solaris, Mac etc. But from OSS v4.x onward OSS has improved a lot and now is outside Kernel level and also some what difficult for API developers.
... I may be missing some recent developments in both ALSA and OSS , as I am out of touch in sound experiments recently now.
But to be frank I was comfortable with OSS as it was simple to setup for a simple use of playing mp3s.
..If I remember correctly , in older versions of TCLs , curaga had provided a self-content OSS extnsion without any dependency , which was superb !