[HOWTO] Replace ALSA with OSS4
Posted: 01 Feb 2015, 17:48
Since ALSA has bad sound quality, you might want to replace it with OSS4. Download OSS4 from here:
http://slackonly.com/pub/packages/14.1- ... _slack.txz
then, convert it into an .xzm module and add it to your porteus/modules directory.
Activate the module. Run in the terminal as root:
It will complain that and similar ones are in use. Make a list of those modules as we need to blacklist them.
Create a file named: and add a few lines by prepending to module names you got in the previous step. Save the file and exit.
Add: to your
Now we will fix the remaining issues with OSS4. In order to have Flash player working without crackling noise, add to your this:
REPLACE oss_envy24 above with YOUR sound card module! (e. g. oss_hdaudio for integrated Intel HDA)
Now we need to make more apps aware of OSS4. Create a file which should contain this:
Add the sound mixer to your startup applications:
Enjoy your high quality audio!
http://slackonly.com/pub/packages/14.1- ... _slack.txz
then, convert it into an .xzm module and add it to your porteus/modules directory.
Activate the module. Run in the terminal as root:
Code: Select all
soundon
Code: Select all
sound_pcm
Create a file named:
Code: Select all
/etc/modprobe.d/alsa_blacklist.conf
Code: Select all
blacklist
Add:
Code: Select all
/usr/sbin/soundon
Code: Select all
/etc/rc.d/rc.local
Code: Select all
/usr/lib/oss/soundon.user
Code: Select all
vmixctl attach /dev/oss/oss_envy240/pcm0 /dev/oss/oss_envy240/pcmin0
Now we need to make more apps aware of OSS4. Create a file
Code: Select all
/etc/asound.conf
Code: Select all
pcm.oss {
type oss
device /dev/dsp
}
pcm.!default {
type oss
device /dev/dsp
}
ctl.oss {
type oss
device /dev/mixer
}
ctl.!default {
type oss
device /dev/mixer
}
Code: Select all
ossxmix -b