mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
core-subscribe: add PA_SUBSCRIPTION_EVENT_CARD in dump_event
fac_table[] lacks of PA_SUBSCRIPTION_EVENT_CARD item. This will cause pulseaudio crash when it tries to dump the PA_SUBSCRIPTION_EVENT_CARD event when DEBUG is defined. Signed-off-by: Libin Yang <libin.yang@intel.com>
This commit is contained in:
parent
3549a4d926
commit
1778f76c78
1 changed files with 2 additions and 1 deletions
|
|
@ -133,7 +133,8 @@ static void dump_event(const char * prefix, pa_subscription_event*e) {
|
|||
[PA_SUBSCRIPTION_EVENT_CLIENT] = "CLIENT",
|
||||
[PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE] = "SAMPLE_CACHE",
|
||||
[PA_SUBSCRIPTION_EVENT_SERVER] = "SERVER",
|
||||
[PA_SUBSCRIPTION_EVENT_AUTOLOAD] = "AUTOLOAD"
|
||||
[PA_SUBSCRIPTION_EVENT_AUTOLOAD] = "AUTOLOAD",
|
||||
[PA_SUBSCRIPTION_EVENT_CARD] = "CARD"
|
||||
};
|
||||
|
||||
const char * const type_table[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue