我这样做:
$ echo autospawn=no > ~/.config/pulse/client.conf
$ killall pulseaudio
pulseaudio: no process found
$ pasuspender qjackctl
Connection failure: Connection refused
pa_context_connect() failed: Invalid argument
$ qjackctl
^Z
[1]+ Stopped qjackctl
$ vmpk &
[2] 2955
此时我看到:
另外,我已经安装了 FluidSynth,连接应该是什么?
- - 更多信息 - -
启动电脑后,我打开 Audacity 并播放 wav 文件,但没有声音。事实上,根本没有任何音频,例如浏览器中的 Youtube 是静音的。
我查看“设置”>“声音”,但什么都没有:
然后我这样做:
$ sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: mickeydog 2923 F.... audacity
/dev/snd/seq: mickeydog 2923 F.... audacity
然后我执行以下操作。尽管出现错误,但 Youtube 音频在此之后可以正常工作,但 Audacity 不行:
$ pulseaudio
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="usb-AKAI_MPKmini2_0001-01" card_name="alsa_card.usb-AKAI_MPKmini2_0001-01" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
答案1
- 错误“pulseaudio no process found”意味着 pulseaudio 没有运行,因此不需要“killall pulseaudio”命令(并报告错误)
- 由于 pulseaudio 没有运行,请使用
qjackctl
命令(或其菜单图标)代替pasuspender qjackctl
- 对于 midi 和 jack,它不知道,但在 qjackctl 设置中查找 midi 驱动程序选择。