Paul van Schayck wrote:
When setting your PlaybackDevice to a dmix plug device you will get a list of (the same) dmix devices. This works arround it, but not really nicely I think:
char *prev_name; if(strcmp(snd_pcm_info_get_name(info),prev_name)) prev_name = (char *)snd_pcm_info_get_name(info); else continue;
What happens when you have two or more identical cards. Should we also look for dmix in the device name?