Building From Mercurial
First Blacklist the Alsa Modules
- Code: Select all
sudo dpkg-reconfigure linux-sound-base
Next Uninstall Pulseaudio
- Code: Select all
sudo apt-get purge pulseaudio
Next Grab Some Required Packages For The Build
- Code: Select all
sudo apt-get install -y binutils libgtk2.0-0 sed gcc libc6
sudo apt-get install -y build-essential linux-headers-`uname -r` gawk libtool libgtk2.0-dev
sudo apt-get install -y libesd0 libsdl1.2debian-oss
sudo apt-get install -y mercurial
grab the source and put it into the opt directory
- Code: Select all
cd /opt
sudo hg clone http://opensound.hg.sourceforge.net/hgweb/opensound
Nows It Is Time To Build
Make The Build Directory
- Code: Select all
cd ~/
sudo rm -rf oss42build
mkdir oss42build
cd oss42build/
Build And Install
- Code: Select all
NO_WARNING_CHECKS=yes /opt/opensound/configure --enable-libsalsa=NO
make
sudo make deb
sudo dpkg -i oss*.deb
If All Went Well OSS4 is Now Installed
Once Rebooted run this
- Code: Select all
osstest
Now To Make a Volume Applet
First Download The Attached File
Extract it Anywhere That You Please
Go to Your Terminal And Change Directory into the one you just extracted
In my Case
- Code: Select all
cd Downloads
cd volwheel-0.2.7-fixed
next run the install command as root
- Code: Select all
sudo su
./install.pl
if all went well the volume applet will be installed if not you may be needing these
- Code: Select all
sudo apt-get install -y libgtk2-trayicon-perl libgtk2-perl
Ok now that the Volume Control is Installed load the StartUp Applications in
- Code: Select all
Applications > Other > Startup Applications
- Code: Select all
Click Add Give it a Name (Volume will do) then in command write "volwheel"
Ok now it is safe to reboot.
Once Rebooted you will notice the volume applet already loaded in the top panel.
Now time to Configure it
- Code: Select all
Right-Click on it > Preferences >
Driver = OSS,
Default Channel = vmix0-outvol,
Default Mixer = OSSXMIX
One Last thing make Alsa Apps go through oss4
- Code: Select all
gedit ~/.asoundrc
Insert
- Code: Select all
pcm.!default
{
type oss
device /dev/dsp
}
mixer.!default
{
type oss
device /dev/dsp
}
now click save
Now you should be good to go, you can change the icon look in the preferences as well
Hope you enjoy using oss4!!
You May Need to Configure some apps to use oss4
http://www.opensound.com/wiki/index.php ... _for_OSSv4
Clementine Works Out of the box
If you are having problems with OSS4 or just want Alsa/Pulse back follow the rest of this guide to get it back
Unblacklist the Alsa Modules
- Code: Select all
sudo dpkg-reconfigure linux-sound-base
and choose ALSA
Remove OSS4
- Code: Select all
sudo soundoff
sudo dpkg -r oss-linux
Reinstall Pulseaudio
- Code: Select all
sudo apt-get install pulseaudio
Remove The Asoundrc File
- Code: Select all
rm ~/.asoundrc
Reboot and it should be back to the way it was