根据pipewire官方文档的Troubleshooting部分可得原因与解决方法
“Normally this should not happen but is usually caused by jittery drivers. In a VM this is most common because the device is emulated.”
解决办法:
mkdir -p ~/.config/wireplumber/wireplumber.conf.d/
cd ~/.config/wireplumber/wireplumber.conf.d
使用你的文笔编辑器如vim nano等创建这个文件~/.config/wireplumber/wireplumber.conf.d/50-alsa-config.conf 并写入:
monitor.alsa.rules = [
{
matches = [
# This matches the value of the 'node.name' property of the node.
{
node.name = "~alsa_output.*"
}
]
actions = {
# Apply all the desired node specific settings here.
update-props = {
api.alsa.period-size = 1024
api.alsa.headroom = 8192
}
}
}
]
然后再
systemctl --user restart wireplumber pipewire pipewire-pulse
重启有关所有服务即可,注意这条命令不能加sudo


中文 
VM虚拟机安装deepin25 出现声音卡顿现象
如题,用VM虚拟机安装deepin后 声音卡顿 一顿一顿的,。。。该怎么解决??声音就像卡了一样。。。。就像慢镜头那样的