[alsa-devel] [usb-audio] VIA/Audinst HUD-mx2: One of two PCM device is available for playback

Clemens Ladisch clemens at ladisch.de
Thu Jul 4 13:22:41 CEST 2013


Takashi Sakamoto wrote:
> This sound card has two PCM devices. If the sound card is realized "card
> 0", there are "hw:0,0" and "hw:0,1". But former seems not to generate
> sound and latter seems to generate.

This device has multiple alternate settings for PCM and AC-3 playback.
The driver creates multiple devices for those because it has no other
mechanism to distinguish them.

The AC-3 setting happens to be listed first in the descriptors.

> 2. are there some ways to use hw:0,1 as a default?

Entires like these in ~/.asoundrc or /etc/asound.conf:

  defaults.pcm.card 0
  defaults.pcm.device 1


I'd guess the driver could be changed to enumerate alternate settings in
two steps, first for PCM formats, then for others.


Regards,
Clemens


More information about the Alsa-devel mailing list