JACK音频连接套件jackd守护程序无法在RaspberryPi上启动

dud*_*ing 6 linux audio jack raspberry-pi

我正在运行Raspberry Pi图像2012-07-15-wheezy-raspbian.zip,我有一个CMedia 108 USB音频适配器安装RPi.

尝试使用内置音频启动jackd

jackd -r -d alsa -d hw:0
Run Code Online (Sandbox Code Playgroud)

无法启动

JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: mmap-based access is not possible for the playback stream of this audio interface
ALSA: cannot configure playback channel
cannot load driver module alsa 
Run Code Online (Sandbox Code Playgroud)

使用USB音频

jackd -r -d alsa -d hw:1  
Run Code Online (Sandbox Code Playgroud)

立即退出,而不是在后台运行.

JACK compiled with System V SHM support. 
loading driver .. 
creating alsa driver ... hw:1|hw:1|1024|2|48000|0|0|nomon|swmeter|-|32bit 
control device hw:1 
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods 
ALSA: final selected sample format for capture: 16bit little-endian 
ALSA: use 2 periods for capture 
ALSA: final selected sample format for playback: 16bit little-endian 
ALSA: use 2 periods for playback  
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

小智 8

板载声卡不能直接与JACK一起使用,但是像C-Media这样的USB声卡应该可以工作.您将需要修补版本的JACK:http ://wiki.linuxaudio.org/wiki/raspberrypi官方Raspbian存储库中的JACK包不起作用,因为它们使用打包的结构,这将在启动JACK时产生总线错误.

从存储库安装JACK后尝试启动JACK,如下所示:

jackd -P84 -p32 -t2000 -d alsa -dhw:Device -p 128 -n 3 -r 48000 -s

这将运行JACK,系统延迟低于10毫秒.对我来说这适用于我的2美元C-Media声卡.


use*_*530 1

其实rpi不支持jack是因为驱动不够好

问题是 rpi 的 alsa 驱动程序缺乏 jack 所需的功能( mmap 支持)。