card: Create pa_available_to_string

Add a new function to the card API that returns the string
representation of a pa_available_t variable.
This commit is contained in:
João Paulo Rechi Vita 2018-08-13 12:19:41 -07:00 committed by Arun Raghavan
parent cae15753d4
commit a94ae3f20f
2 changed files with 15 additions and 0 deletions

View file

@ -113,6 +113,8 @@ typedef struct {
pa_direction_t direction;
} pa_card_preferred_port_changed_hook_data;
const char *pa_available_to_string(pa_available_t available);
pa_card_profile *pa_card_profile_new(const char *name, const char *description, size_t extra);
void pa_card_profile_free(pa_card_profile *c);