Rainy wrote:
It might have been when the FAQ was written but not anymore. Currently the Linux version is build on Ubuntu 8.04. The audio in Rainlendar should work if the /dev/dsp device exists and writing something to it produces an audible sound.
Well, I've found the solution but it's a bit complicated because Ubuntu doesn't seems very interested in continuing the OSS4 support.
First at all. I have obtained this info from this blog:
Howto Install OSS4 in ubuntu 10.04 (Lucid) for better sound quality
I'll explain that I've done:
- Install the next packages: oss4-base oss4-dkms oss4-gtk
But there is a problem, oss4-dkms package is erroneous in Lucid. The solution is install the next packages, in this order, from Maverick release (click the download links at page bottom):
- oss4-base
- oss4-dkms
- The last package: oss4-gtk, we have to install from Lucid release:
| Code: |
sudo aptitude install oss4-gtk
|
- In a terminal, run
| Code: |
sudo dpkg-reconfigure linux-sound-base
|
Choose OSS. This should, among other things, prevent the ALSA modules from loading.
- To configure Pulseaudio with OSS4:
Edit the default configuration file: | Code: |
gksu gedit /etc/pulse/default.pa
|
Comment out the modules for automatic hardware detection, in my case they were this lines:
| Code: |
### Automatically load driver modules depending on the hardware available
#.ifexists module-udev-detect.so
#load-module module-udev-detect
#.else
### Alternatively use the static hardware detection module (for systems that
### lack udev support)
#load-module module-detect
#.endif
|
Add the following line:
| Code: |
load-module module-oss device="/dev/dsp" sink_name=output source_name=input mmap=0
|
- Configure Gstreamer for OSS4 output:
- Install gstreamer0.10-plugins-bad:
| Code: |
sudo aptitude install gstreamer0.10-plugins-bad
|
- Run
| Code: |
gstreamer-properties
|
and set input and output to OSS.
- Set up ALSA (or rather libasound) to output through OSS4 instead of the native ALSA drivers. Create a configuration file:
Insert the following:
| Code: |
pcm.!default
{
type oss
device /dev/dsp
}
mixer.!default
{
type oss
device /dev/dsp
}
|
- Add the following PPA to your Software Sources and run update-manager: https://launchpad.net/~dtl131/+archive/ppa
This will enable Gnome audio output and volume management to use Gstreamer instead of Pulseaudio:
| Code: |
sudo add-apt-repository ppa:dtl131/ppa
sudo aptitude update && sudo aptitude safe-upgrade
|
- Configure applications that natively support it (e.g. Audacious, Audacity, Kdenlive, SMPlayer, VLC, Wine, etc.) to use OSS output.
Many applications don’t (or no longer) have native support for OSS. This is no problem, these should continue to work fine through Gstreamer, ALSA emulation or Pulseaudio.
- Restart computer.
The collateral effect is that it seems we'll have better sound!
If you want reverse back this changes, read
the last part of the entry blog.
Regards.
