USB Microphone control shown as a Playback control in tools using alsa-lib
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- 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 is about one mixer control ('Auto Gain Control') being exposed as playback on a capture-only USB device. Start by reproducing with amixer scontrols and amixer sget on the attached alsa-info output, then check which direction the library assigns to the control. The payload does not name the source files involved, so locate the simple-mixer control code yourself. Done means the control is reported as capture (or direction-agnostic) for this device, with the fix confirmed on the reporter's hardware or a similar capture-only device.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I have a 'Clip-on USB microphone UM02' which functions with Alsa just fine,
except for one of its controls: 'Auto Gain Control'.
This control is shown by alsa-mixer on the playback controls 'tab', when one
would logically expect it to be on the capture controls (or perhaps
just show up if the user selects 'ALL').
On a bit of investigation, amixer lists it as follows:
Simple mixer control 'Auto Gain Control',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
This USB sound device is only a microphone - it has no playback
capabilities. So any controls should either be 'capture' or perhaps
be seen as generic (i.e. playback/capture agnostic) for the device.
The fact that alsa libraries make this control appear to be playback
not only affects user interfaces like alsamixer, but also throws
other tools like pulseaudio/pipewire (with their 'alsa-card-profile' logic).
alsa-info output attached.
alsa_karl1.txt
- 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
-
[libcbor] update to 0.15.1Đang mởcategory:port-update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 2 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
meshcore-dev/MeshCore#4015 ·
Maintainer thường phản hồi trong vòng 2 ngày