$ cat /proc/asound/cards 0 [CS46xx ]: CS46xx - Sound Fusion CS46xx Sound Fusion CS46xx at 0x50100000/0x50000000, irq 11 $ aplay -Dhw:CS46xx /usr/share/sounds/ring.wav (plays)
Using libasound2 one can already specify sound card by ID rather than by index.
$ cat /proc/asound/cards
Sound Fusion CS46xx at 0x50100000/ 0x50000000, irq 11 sounds/ ring.wav
0 [CS46xx ]: CS46xx - Sound Fusion CS46xx
$ aplay -Dhw:CS46xx /usr/share/
(plays)
Using libasound2 one can already specify sound card by ID rather than
by index.