[pulseaudio-discuss] Pulseaudio sound card's unique identifier

Tanu Kaskinen tanuk at iki.fi
Thu Oct 18 10:52:07 PDT 2012


On Thu, 2012-10-18 at 17:13 +0900, Amar Akshat wrote:
> Hi,
> 
> Is there a unique way of determining any sound card via PulseAudio?
> 
> Write now I identify the sound cards by the alsa.card = "0" parameter,
> which shows up in pactl list. However that is dependent upon the order
> in which PulseAudio detected the sound card.
> 
> So after a system reboot that might change.

The card name (also visible in "pactl list" output) should be a quite
reliable identifier.

-- 
Tanu



More information about the pulseaudio-discuss mailing list