Tascam US122L, JACK, PulseAudio and OBS
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 10/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c, linux
- Lĩnh vực
- audio-video-rtc
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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)
- Ngôn ngữ chính
- C
- Star
- 501
- Fork
- 227
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của alsa-project/alsa-lib
-
USB-Audio: ASUS ROG Zenith II S/PDIF output mapped to wrong PCM deviceCó thể đã có người làm @byrcolin đã nhận 49 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
alsa-project/alsa-lib#532 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
alsa-project/alsa-lib#530 · 9 reaction ·
-
kernel driver
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
alsa-project/alsa-lib#529 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
alsa-project/alsa-lib#522 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
alsa-project/alsa-lib#519 ·
Tất cả issue của alsa-project/alsa-lib
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
fastfetch-cli/fastfetch#2780 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elliotchance/vsql#2079 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 61/100
Maintainer thường phản hồi trong vòng 13 ngày
-
threadpool: a failed `pthread_cond_wait` makes Mlucas hang instead of stoppingCó thể đã có người làm @leinardi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
primesearch/Mlucas#398 ·