1. SIP Communicator (PortAudio) with OSS4 + ALSA emulation
2. SIP Communicator (PortAudio) with ALSA + OSS emulation
Similar tests can be made with GMail voice and video chat
http://gmailblog.blogspot.com/2008/11/s ... -chat.html
There seems to be a great realm for experimenting. For instance, Twinkle SIP Phone works well with OSS4, but it might be interesting to compare its performance OSS4 vs. ALSA on the same computer and on the same system.
WARNING: This method works for Arch Linux only!
It is suggested that you understand rc.conf and you know how to configure applications for ALSA and OSS
http://wiki.archlinux.org/index.php/Beg ... _alsamixer
http://wiki.archlinux.org/index.php/Alsa
http://wiki.archlinux.org/index.php/OSS
http://www.4front-tech.com/wiki/index.p ... _for_OSSv4
Temüjin's script for configuring GSreamer and "gnome-sound-properties" can be downloaded here:
http://www.opensound.com/forum/viewtopic.php?f=3&t=3324
It is suggested that you have Arch Linux with OSS4 installed.
Step 1: Save copies of rc.conf
Code: Select all
$ sudo cp /etc/rc.conf /etc/rc.conf-oss
$ sudo cp /etc/rc.conf /etc/rc.conf-alsa
$ sudo cp /etc/rc.conf /etc/rc.conf-alsa-esd
Step 2: Edit rc.conf-alsa and rc.conf-alsa-esd
rc.conf-oss should look like this:
Code: Select all
# rc.conf for OSS4
# /etc/rc.conf - Main Configuration for Arch Linux
.
.
.
MODULES=(!net-pf-10 !usblp !soundcore !snd_pcsp !pcspkr loop)
.
.
.
DAEMONS=(network @syslog-ng netfs ntpdate ntpd cups @crond @oss dbus hal gdm)
rc.conf-alsa should look like this:
Code: Select all
# rc.conf for ALSA
# /etc/rc.conf - Main Configuration for Arch Linux
.
.
.
MODULES=(!net-pf-10 !usblp soundcore !snd_pcsp !pcspkr loop)
.
.
.
DAEMONS=(network @syslog-ng netfs ntpdate ntpd cups @crond alsa dbus hal gdm)
rc.conf-alsa-esd should look like this:
Code: Select all
# rc.conf for ESound with ALSA
# /etc/rc.conf - Main Configuration for Arch Linux
.
.
.
MODULES=(!net-pf-10 !usblp soundcore !snd_pcsp !pcspkr loop)
.
.
.
DAEMONS=(network @syslog-ng netfs ntpdate ntpd cups @crond alsa esd dbus hal gdm)
Step 3: Install ALSA things:
Code: Select all
# pacman -Syy
# pacman -S alsa-utils alsa-oss esound
Step 4: Install the magic tool from AUR
Code: Select all
$ yaourt -S asoundconf
see:
http://wiki.archlinux.org/index.php/Yaourt
http://wiki.archlinux.org/index.php/ALS ... ound_Cards
Now you can easily switch from OSS4 to ALSA and other way round.
To switch to ALSA, execute two commands:
Code: Select all
$ sudo cp /etc/rc.conf-alsa /etc/rc.conf
$ sudo reboot
To switch to OSS4, execute two commands:
Code: Select all
$ sudo cp /etc/rc.conf-oss /etc/rc.conf
$ sudo reboot
It is very simple, you see. Now you can easily create the scripts you need to automatize the process. You may also try my scripts (in the Attachment).