Tascam US122L, JACK, PulseAudio and OBS
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 10/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- c, linux
调研方向
The report involves a TASCAM US122L on the usb_stream ALSA plugin, configured through the .asoundrc snippet and started with a jackd command that uses -dusb_stream:CARD=US122L. The first step is to reproduce the setup with the attached alsa-info output, since the failure only appears after OBS opens a PulseAudio input. Done would mean identifying which snd_pcm_prepare call returns the Input/output error and why, and the report gives no fix direction, so expect hardware-specific investigation.
由索引模型根据 Issue 内容生成。
描述
Apologies if this is the wrong place - however I'm getting an error most of the time in a very specific situation.
My setup is a TASCAM US122L USB interface, which ALSA is capable of recognising and setting up as a usb_stream device. I then run jackd for this device, load the pulseaudio module for a JACK source (at this point I can record via parecord), and then attempt to add a PulseAudio input to OBS. At this point, I'll get an input for less than a second, then it'll cut out and I'll get an error in JACK.
I've attached the output of alsa-info; showing that the device is recognised. The contents of my .asoundrc are somewhat widely used:
# The usb_stream plugin configuration
pcm.!usb_stream {
@args [ CARD ]
@args.CARD {
type string
default "1"
}
type usb_stream
card $CARD
}
ctl.!usb_stream {
@args [ CARD ]
@args.CARD {
type string
default "1"
}
type hw
card $CARD
}
I run jackd with a command like:
/usr/bin/jackd -v -p128 -dalsa -dusb_stream:CARD=US122L -r44100 -p256 -n2 -C
I then set up a source in PulseAudio using pacmd load-module module-jack-source. Typically at this point, parecord --device=jack_in test.wav records no problems.
Then I'll run OBS and try to add a PulseAudio input, at which point I usually get a very short period of input (less than 1 second?) and then the input will cut out and I'll see the following error in jackd output:
Couldn't configure usb_stream
: Input/output error
ALSA: prepare error for capture on "usb_stream:CARD=US122L" (Input/output error)
Upon tracking this down, it seems that some call to snd_pcm_prepare by JACK is receiving an error code; but I'm not an expert in this library (or alsa) so it's hard for me to even guess what the problem could be.
alsa-info.txt
I have also raised this issue on JACK in case it's a problem with that library (link here - but details are the same https://github.com/jackaudio/jack1/issues/118#issue-1353053534)
- 主要语言
- C
- 星标
- 501
- 派生
- 227
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
alsa-project/alsa-lib 的其他 Issue
-
USB-Audio: ASUS ROG Zenith II S/PDIF output mapped to wrong PCM device可能已有人在做 @byrcolin 于 49 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
alsa-project/alsa-lib#532 ·
-
难度 5/5 一周以上 新手友好度 12/100
alsa-project/alsa-lib#530 · 9 个 reaction ·
-
kernel driver
难度 5/5 一周以上 新手友好度 12/100
alsa-project/alsa-lib#529 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
alsa-project/alsa-lib#522 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 15/100
alsa-project/alsa-lib#519 ·
查看 alsa-project/alsa-lib 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
fastfetch-cli/fastfetch#2780 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
elliotchance/vsql#2079 ·
维护者通常 1 天内回复
-
category:port-update
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 2 天内回复
-
docs
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
meshcore-dev/MeshCore#4015 ·
维护者通常 2 天内回复