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


已发布

分类

来自

评论

发表回复

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