ALSA: Have the id of enumerated devices be returned in "hw:%d,%d" format.
The rationale for this change is that during testing I noticed that snd_pcm_open() would sometimes fail with "Invalid value for card" when using the "NAME" hint returned by snd_device_name_get_hint() verbatim. Using "hw:%d,%d" seems to fix this problem.
Showing
Please register or sign in to comment