add priority logic to find best default profile

This commit is contained in:
Lennart Poettering 2009-01-20 20:35:18 +01:00
parent b3a043fd31
commit 7368a6e6be
6 changed files with 43 additions and 15 deletions

View file

@ -86,6 +86,7 @@ typedef struct pa_alsa_profile_info {
const char *alsa_name;
const char *description;
const char *name;
unsigned priority;
} pa_alsa_profile_info;
int pa_alsa_probe_profiles(