Re: [Alsa-user] getting device name for playback

2011-03-29 Thread Dennis Borgmann
Hello alsa-users! I found out, how to get to know the device names. It can be done by parsing the output of alsactl store. Every device, that is capable of output, has got a negative or 0-value of dbmax. Best regards, Dennis Dennis Borgmann schrieb: > Hello alsa-users! > > I would like to extrac

[Alsa-user] getting device name for playback

2011-03-28 Thread Dennis Borgmann
Hello alsa-users! I would like to extract the info, which device is for playback on a sound device. For example, I have a headset, which gives back this info: :~# amixer -c 0 scontrols Simple mixer control 'Mic',0 Simple mixer control 'Auto Gain Control',0 Simple mixer control 'Speaker',0 and fo