https://bugs.winehq.org/show_bug.cgi?id=43229
Bug ID: 43229 Summary: Use alsa card name instead ID Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sc.olivier@gmail.com Distribution: ---
Hello dear Wine community,
I wanted to point out that in audio devices, you use the "name" instead of "ID". It seems that this is a non-priority bug but has existed since the beginning of the project.
Indeed, it is well specified by the community of alsa that the unique OS name of the sound cards is "ID".(Do not confuse with index)
The "name" flag is used to define the manufacturer name of the card. This entry is therefore not unique.
When we have the same sound card several times or if have used loopback alsa, we find nothing when you search your device in wine...
If you could fix this in a near release this to be really ideal.
Thanks in advance.
Good continuation for this very good project that I follow a long time.
https://bugs.winehq.org/show_bug.cgi?id=43229
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winealsa.drv
https://bugs.winehq.org/show_bug.cgi?id=43229
--- Comment #1 from Olivier sc.olivier@gmail.com --- Created attachment 58541 --> https://bugs.winehq.org/attachment.cgi?id=58541 winealsa driver namming
And when you go to wine you see in attached file
https://bugs.winehq.org/show_bug.cgi?id=43229
--- Comment #2 from Olivier sc.olivier@gmail.com --- For simulate this you can:
edit nano /etc/modprobe.d/alsa-base.conf
at the end add:
options snd-aloop index=1,2 id=looptest1,looptest2 enable=1,1 pcm_substreams=2,2
after a reboot with "aplay -l":
carte 1: looptest1 [Loopback], périphérique 0: Loopback PCM [Loopback PCM] Sous-périphériques: 2/2 Sous-périphérique #0: subdevice #0 Sous-périphérique #1: subdevice #1 carte 1: looptest1 [Loopback], périphérique 1: Loopback PCM [Loopback PCM] Sous-périphériques: 2/2 Sous-périphérique #0: subdevice #0 Sous-périphérique #1: subdevice #1 carte 2: looptest2 [Loopback], périphérique 0: Loopback PCM [Loopback PCM] Sous-périphériques: 2/2 Sous-périphérique #0: subdevice #0 Sous-périphérique #1: subdevice #1 carte 2: looptest2 [Loopback], périphérique 1: Loopback PCM [Loopback PCM] Sous-périphériques: 2/2 Sous-périphérique #0: subdevice #0 Sous-périphérique #1: subdevice #1
And when you go to wine you see:
https://bugs.winehq.org/show_bug.cgi?id=43229
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=43229
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com --- For the example you give, can you show me what you would you prefer we show to the user instead?
https://bugs.winehq.org/show_bug.cgi?id=43229
--- Comment #4 from Olivier sc.olivier@gmail.com --- If it's possible, sommethink like:
for input:
01 In:looptest1 - Loopback PCM 02 In:looptest2 - Loopback PCM
for output:
01 Out:looptest1 - Loopback PCM 02 Out:looptest2 - Loopback PCM
And if wine can manage multiple subdevices sommethink like:
for input:
01 In:looptest1 - 01 Loopback PCM 02 In:looptest1 - 02 Loopback PCM 03 In:looptest2 - 01 Loopback PCM 04 In:looptest2 - 02 Loopback PCM
for output:
01 Out:looptest1 - 01 Loopback PCM 02 Out:looptest1 - 02 Loopback PCM 03 Out:looptest2 - 01 Loopback PCM 04 Out:looptest2 - 02 Loopback PCM
You think it's possible?
https://bugs.winehq.org/show_bug.cgi?id=43229
--- Comment #5 from Andrew Eikum aeikum@codeweavers.com --- It's definitely possible, but it does make the experience a bit worse with real hardware, in my opinion. I would go from:
Out: HDA Intel PCH - ALC887-VD Analog Out: HDA NVidia - HDMI 0 Out: Logitech USB Headset - USB Audio
To:
Out: PCH - ALC887-VD Analog Out: NVidia - HDMI 0 Out: Headset - USB Audio
The headset is the biggest loss of information.
Unfortunately adding all three components (ID, name, and device) would make it very long:
Out: PCH - HDA Intel PCH - ALC887-VD Analog Out: NVidia - HDA NVidia - HDMI 0 Out: Headset - Logitech USB Headset - USB Audio
I notice that PulseAudio's pavucontrol shows nice names like "HDA NVidia", "Built-in Audio", and "Clear Chat Comfort USB Headset". I wonder where those come from.
I'm open to suggestions.
https://bugs.winehq.org/show_bug.cgi?id=43229
--- Comment #6 from Olivier sc.olivier@gmail.com --- Maybe it was possible to test if the "name" is "Loopback" and if it is, you can switch to "ID" ?
https://bugs.winehq.org/show_bug.cgi?id=43229
--- Comment #7 from Olivier sc.olivier@gmail.com --- Hello,
I comme to new?
Thanks in advance