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

@ -33,6 +33,8 @@ typedef struct pa_card_profile {
char *name;
char *description;
unsigned priority;
/* We probably want to have different properties later on here */
unsigned n_sinks;
unsigned n_sources;