alsa: ignore jack events when the user is inactive

See the big comment in the code for more details.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=93259
This commit is contained in:
Tanu Kaskinen 2016-04-20 15:35:13 +03:00 committed by Arun Raghavan
parent a19e1e5382
commit fb52a6a6e6
3 changed files with 35 additions and 0 deletions

View file

@ -84,6 +84,8 @@ struct pa_card {
bool save_profile:1;
pa_suspend_cause_t suspend_cause;
void *userdata;
int (*set_profile)(pa_card *c, pa_card_profile *profile);