Skip to contentSkip to conversation

Unique card identifier ?

DISCUSSION Giuliano Pochini 2 participants 2 messages Jan 4, 2004 – Jan 5, 2004

lore
Share & tools
lore
#0 lore raw

I have to save the settings of the mixer and I need a unique name for each card. Does snd_ctl_card_info_get_id() return different ids if there are two identical cards ?

--
Giuliano.

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#1 lore raw
Quoted 3 lines · Giuliano Pochini

I have to save the settings of the mixer and I need a unique name for each card. Does snd_ctl_card_info_get_id() return different ids if there are two identical cards ?

Yes.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click