make skype work with pulseaudio in ubuntu hardy

Install pulseaudio first, just follow the instructions in ubuntu wiki:

sudo apt-get install libasound2-plugins “pulseaudio-*” paman padevchooser paprefs pavucontrol pavumeter

then create /etc/asound.conf that contains:

pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}

then make your user have the rights to access pulse groups:

pulse
pulse-access
pulse-rt

If you have got skype’s audio problem, follow instructions in ubuntuforums,
edit /etc/pulse/default.pa, comment out “load-module module-hal-detect”. Then, uncomment the following:

load-module load-module module-alsa-sink ….
load-module module-alsa-source …

and change it’s content to:

load-module module-alsa-sink device=dmix sink_name=output
load-module module-alsa-source device=dsnoop

and append the follow content in /etc/asound.conf:

pcm.skypeout
{
type plug
slave.pcm “dmix”
}
ctl.skypeout
{
type hw
card 0
}
pcm.skypein
{
type plug
slave.pcm “dsnoop”
}
ctl.skypein
{
type hw
card 0
}

restart pulseaudio:

killall pulseaudio
pulseaudio &

Then, start Skype, and go to the Sound Devices section in the Options. Select for Sound Out and Ringing, the device called “skypeout”. Select for Sound In, the device called “skypein”

Reference
1 https://wiki.ubuntu.com/PulseAudio
2 http://ubuntuforums.org/showthread.php?t=686911

This entry was posted in Linux and tagged , , , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string KCFgjE to the field below:

以新浪微博帐号登录