Skype on Eee PC Ubuntu Netbook Remix
Donnie had asked on my previous post if I had a chance to test Skype. I just tested, and everything works very well. I didn't experience any of the choppiness that he experienced. I know that there have been several bug fixes for both PulseAudio and Alsa recently to address issues with the Intel Audio chips. For reference, my installed versions are alsa 1.0.18.dfsg-1ubuntu8 and pulseaudio 0.9.14-0ubuntu20.
I did have to make a special entry in ~/.asoundrc for my stereo headset to output to both speakers. Skype provides 8-bit unsigned mono output audio, so it needs converted to stereo if you want sound in both headphone speakers. I copied these settings from http://help.ubuntu.com here. I didn't create the launcher script they mention. Just add the following to your ~/.asoundrc and choose "skype" as your Sound In, Sound Out and Ringer device in Options->Sound Devices.
Code:
pcm.skype { | |
type asym | |
playback.pcm "skypeout" | |
capture.pcm "skypein" | |
} | |
| |
pcm.skypein { | |
# Convert from 8-bit unsigned mono (default format set by aoss when | |
# /dev/dsp is opened) to 16-bit signed stereo (expected by dsnoop) | |
# | |
# We can't just use a "plug" plugin because although the open will | |
# succeed, the buffer sizes will be wrong and we'll hear no sound at | |
# all. | |
type route | |
slave { | |
pcm "skypedsnoop" | |
format S16_LE | |
} | |
ttable { | |
0 {0 0.5} | |
1 {0 0.5} | |
} | |
} | |
| |
pcm.skypeout { | |
# Just pass this on to the system dmix | |
type plug | |
slave { | |
pcm "dmix" | |
} | |
} | |
| |
pcm.skypedsnoop { | |
type dsnoop | |
ipc_key 1133 | |
slave { | |
# "Magic" buffer values to get skype audio to work | |
# If these are not set, opening /dev/dsp succeeds but no sound | |
# will be heard. According to the alsa developers this is due | |
# to skype abusing the OSS API. | |
pcm "hw:0,0" | |
period_size 256 | |
periods 16 | |
buffer_size 16384 | |
} | |
bindings { | |
0 0 | |
} | |
} |
4 comments
This post has 341 feedbacks awaiting moderation...
Leave a comment