Presence of "default" device name crashes unity3d games
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
- 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 relevant config is src/conf/pcm/default.conf, where the reporter suggests adding omit_noargs true under the hint section to drop the bare "default" device entry shown by aplay -L. Start by reproducing the device listing on a system that shows the entry, then check how the hint section is parsed. Done would need a maintainer decision on whether the entry should be removed or the crash fixed on the Unity side, which the thread does not settle.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In a recent Slackware 15.0 distro release, the alsa-lib version is now 1.2.5.1. This causes a crash in Kerbal Space Program similar to issue #27. A change was made to close issue #27 in alsa-lib 1.2.3. That change did not correct the crash however in 1.2.3 or 1.2.5.1 in my case.
This is the noted difference for "aplay -L" between 1.2.3 and 1.2.1:
--- dump_1_2_1 2022-03-10 12:38:16.991433004 -0700
+++ dump_1_2_3 2022-03-10 12:37:53.467443226 -0700
@@ -1,5 +1,9 @@
null
Discard all samples (playback) or generate zero samples (capture)
+default
+ Default Audio Device
+sysdefault
+ Default Audio Device
default:CARD=IXP
ATI IXP, ATI IXP AC97
Default Audio Device
Removing this "default" device entry fixes the issue on this system. You may remove the default device name by editing src/conf/pcm/default.conf and adding under the hint section "omit_noargs true".
Unity must be parsing the device name, and with certain device names, if there is no ':' doing something bad, as there is a pattern here on what it trips on. I have no idea how to get them to correct this, so opening the issue here at least for the record if anyone else has an issue with this.
Also, I am not sure what triggers "default" to show. I did a survey and 3 out of 5 of my slackware 15.0 systems have it. And 2 do not. Does this have something to do with parsing the system alsa config and the available sound devices in the system? I don't define any asound.conf for any of these, so these are almost 100% stock slackware systems, there should otherwise be no difference.
- 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