How to determine which files were read/parsed
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 12/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- c, linux
調査の方向性
The issue asks which config and state files alsactl reads, in what order, for alsactl restore and alsactl init. The payload names /usr/share/alsa/init/00main, /var/lib/alsa/asound.state, /etc/asound.conf and ~/.asound.conf, but the actual load path is not in the payload, so start by tracing the alsactl and config-parsing code in the repository. Done means a written list of files in read order, checked against a strace run of alsactl. The thread has had no reply for almost three years and is a mixed question, so confirm with a maintainer what form of answer they want first.
索引モデルが issue の本文から書いたものです。
説明
I would like to know which files were read by alsa doing alsactl restore or alsactl init.
So far I know that there is a folder /usr/share/alsa and it has init/00main, and this is probably read first, because when I deleted whole alsa dir I got error about this file, then I don't know what is read. Also there is a file /var/lib/alsa/asound.state which from my understanding contains values for different controls that are visible in alsamixer. There is also "user" config file in /etc/asound.conf and optionally any user can create ~/.asound.conf. Am I missing any other files?
getting the list of files in order they are read for each card or all cards would be helpfull in debugging.
For example by default I found out that my card HDA Intel PCH has two devices ALC1150 Analog and ALC1150 Digital. Digital is probably one of the six jacks in the back of my PC that are unplugged so I don't care about them right now. However Analog in my PC is connected to speakers and also from motherboard comes another cable to front jack panel that I plugged my headphones. I have a few problems with the default configuration:
- Headphone slider in alsamixer, known as control doesn't work.
- There are too many controls in Playback that are useless in my opinion.
- I haven't found yet how headphone and speakers jacks where merged into one Analog device. I wonder if it's a software merge or a hardware thing. I would like to combine card 2: NVidia [HDA NVidia], device 3: HDMI 0 [X2483_2481] with the merged card 1 device 0 (headphones and speakers) and I was wondering if it would be better to merge all 3 devices at once.
Correct me if I'm wrong, but from my understanding you have to connect different devices to be able to dynamically switch between them, because normally every process, e.g browser connects to a pcm device at startup and you can't change it later. So the actual audio switching is unmuting one thing and muting rest of them. All "things" are connected to one pcm, right?
Please correct me if I'm wrong or use wrong terminology.
- 主要言語
- C
- スター
- 501
- フォーク
- 227
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 12/100
alsa-project/alsa-lib#530 · リアクション 9 件 ·
-
kernel driver
難易度 5/5 1週間以上 初心者へのやさしさ 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 日以内に返信
-
docs
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
メンテナーはふだん 13 日以内に返信
-
threadpool: a failed `pthread_cond_wait` makes Mlucas hang instead of stopping対応中かも @leinardi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
primesearch/Mlucas#398 ·