card: Support adding ports dynamically

Card profiles -specially the ones registered with pa_card_add_profile()-
might need to create new ports during the lifetime of the card.
This commit is contained in:
Mikel Astiz 2012-10-23 16:41:56 +02:00 committed by Tanu Kaskinen
parent 3c9b42d2bc
commit a9c3f2fb0f
3 changed files with 19 additions and 0 deletions

View file

@ -115,6 +115,7 @@ typedef enum pa_core_hook {
PA_CORE_HOOK_CARD_PROFILE_CHANGED,
PA_CORE_HOOK_CARD_PROFILE_ADDED,
PA_CORE_HOOK_PORT_AVAILABLE_CHANGED,
PA_CORE_HOOK_PORT_ADDED,
PA_CORE_HOOK_MAX
} pa_core_hook_t;