Skype (or just Skypeout, I don't know) has a major problem in that you can only make a single call unless you close the program and restart it. I was looking around and, apparently, this has to do with it leaving /dev/dsp open or some such thing. There's a fix out there called skype_dsp_hijacker which deals with the problem and, if it's safe, I think it would be good to include it in the ebuild. Reproducible: Always Steps to Reproduce: 1.Call somebody with skypeout. 2.Try calling a second party 3. Actual Results: Skype says the call failed. Expected Results: The call should have gone through.
I've just installed skype_dsp_hijacker and start skype thus: #!/bin/bash MIXERDEV=/dev/mixer1 MICDEV=/dev/dsp1 SPEAKERDEV=/dev/dsp1 \ LD_PRELOAD=libskype_dsp_hijacker.so:libdl.so.2 /opt/skype/skype.bin (I use a USB headset as my second sound device). I can confirm that skype doesn't work when I call a second party, but that it does when I install the hijacker and use the above script. I'd like this to be added to the skype ebuild, or at least including the hijacker as a separate ebuild. Maybe I'll post it as a bug this weekend if I have the wit to do it.
*** Bug 127579 has been marked as a duplicate of this bug. ***
It appears there's a neat workaround for the "only one call possible issue": http://forum.skype.com/viewtopic.php?t=32290http://forum.skype.com/viewtopic.php?t=32290&postdays=0&postorder=asc&start=135&postdays=0&postorder=asc&start=135 As people at the skype forum found out, the problem stems from the file hangup.wav being a 16-bit wave file whereas all other skype sounds are 8-bit wave files. Converting the file with: cd /usr/share/skype/sound mv hangup.wav hangup16.wav sox hangup16.wav -b hangup.wav solves the problem and also allows you to hear the hangup sound.
# file * busy4.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 11025 Hz call_in.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 44100 Hz call_out.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 11025 Hz hangup16.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 11025 Hz hangup.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 11025 Hz im.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 16000 Hz I assume that the same applies to the file im.wav.
Yes, I have converted both. By the way, keep in mind that if you use dmix this won't work...
Correction: it won't work (the 16 -> 8 bit conversion) on AMD processors. I have verified this on my laptop. Can someone verify that it works for Intel processors?
I have managed to get the 16->8 bit conversion working on an Athlon XP 2000+, but it won't work on the AMD64 version.
Skype 1.3 and up now use ALSA so all these wrappers and stuff are no longer needed.