LINDENS: Please adopt an open standards voice architecture. We shouldn't have to do stuff like this.
PULSEAUDIO USERS: It's not that hard to kludge around it, this works pretty well, and it's been consistent since Hardy. I'll start with a fresh Ubuntu Intrepid Ibex install on the pentium box. Essentially you use padsp to run the windows SLVoice.exe alongside the Linux viewer.
YOU NEED:
A distro with Pulseaudio (I'm using Intrepid, this works on Hardy too)
I use the official linux Release Candidate as the client.
You also want the official windows release secondlife client.
Get WINE. (It's in the repos, but not installed out of the box)
https://help.ubuntu.com/community/Wine if you need help getting WINE on your Ubuntu distro.
I'm assuming you have your proprietary video drivers set up, have already established that you can run SL *WITH* sound but without voice, and your mic works in other non-SL applications. You're ready.
DO THIS:
Open wineconfig (wineconfig in the console or from the menu:
Applications--> WINE --> Configure Wine). Click on the "Audio" tab. If it gives you an error when you click on it, ignore it. Check the square that says "OSS Driver" in the driver selection window. Uncheck the one that says "ALSA Driver." Click OK. You're done configuring WINE unless you know what you're doing.
Unpack the linux SL viewer (will probably have "i686" in the filename), and put the unpacked folder somewhere convenient. Don't forget where you put it. Inside the unpacked client is a folder called "bin" and inside that is an executable file named "SLVoice"
Delete SLVoice. Replace SLVoice with an empty file (right click, "Create Document," "Empty File"). Name the file "SLVoice" and yes, it's case sensitive. We're done with the client until we're ready to run it.
I don't think the SLVoice binary was in the bin folder in the last release, so if you're using an older client or maybe even the release (I'm not going to bother checking) it's possible SLVoice will be in the base directory of the package. Just make sure an empty file replaces the SLVoice binary, wherever it might be.
Now we're going to actually install the windows version, but only use the voice part. I don't know if there's a way to do this without installing the whole viewer again. Right click on the secondlife Setup.exe and "Open with Wine Windows Program Loader" Don't try to extract it as though it were an executable zip file.
Install SL as you would in windows. I accepted all the defaults and noted the install directory. CHOOSE "NO" WHEN IT ASKS IF YOU WANT TO "Start Second Life Now"
There's a shortcut on your desktop for the windows second life viewer. Delete it, because you'll never use it. I would have decided against a desktop shortcut were I given the option.
Run the LINUX SL client. Login. Go somewhere with voice and chatty people. Ahern Welcome Area is usually populated. You don't have voice yet.
Open a console (in Ubuntu, Applications --> Accessories --> Terminal) and type
padsp wine ~/.wine/drive_c/Program\ Files/Secondlife/SLVoice.exe
This runs the SLVoice windows application, which does what the linux version is supposed to do. I'm choosing to ignore any errors that aren't red and keep the program from running. Adjust the arguments if you installed the windows viewer somewhere exotic.
Now that SLVoice.exe and the linux SL client are running at the same time, your client should connect to the voice servers in 10 - 20 seconds. It was almost instant for me. SLVoice.exe exits when voice is disabled in Edit --> Preferences --> Voice Chat. So run the SLVoice.exe again before you re-enable voice chat.
It should work. I had to turn up my capture volume, though. Double click on the system volume speaker or run gnome-volume-control from the terminal. I'm using some kind of intel sound card, so the magic slider for me was "Capture," which shows up under the "Recording" tab after you enable it in the preferences. You might have to experiment.
CAVEATS:
You need a fast computer. You're (not) emulating a windows binary the same time you're filtering the SLVoice audio data through a sound daemon hack. I just did this on a P4 3.0HT with out any sound artifacts, but it might stutter/crackle/get stupid if you're taxing something less robust. In Hardy, if another app is using the sound server when you start sl and slvoice, the pulseaudio daemon will hang (and probably crash most sound-using programs). Force quit any open application that uses sound, then kill and restart the pulseaudio process:
kill -s KILL $(pgrep pulseaudio)
pulseaudio
pulseaudio
If you can't launch pulseaudio again, something is still using your sound card. Find the app that's using sound and kill it. Then start pulseaudio, secondlife, and the windows SLVoice app and you should be up and running. Now that sl and voice are working, you can use rhythmbox and vlc player and other noisy apps. Flash video on firefox hangs up time to time when I use this hack, but I'll blame that on closed Flash code for now.
POLISH:
Rather than mess with the console every time, you can just run this script to start SL with the voice kludge.
WHY WON'T VBULLETIN LET ME POST MY SCRIPT HERE
Paste that into a text file, fix the SL_DIR and SL_VOICE variables, save it, make the file executable, and run it. Type in your name and password. Don't get your password wrong. Click ok. You should launch with voice support.
Good luck!