mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
core: add a suspend cause flags field
This commit is contained in:
parent
3af5f8cb55
commit
00797b8b6e
16 changed files with 83 additions and 40 deletions
|
|
@ -122,7 +122,7 @@ static pa_hook_result_t reserve_cb(pa_reserve_wrapper *r, void *forced, struct u
|
|||
pa_assert(r);
|
||||
pa_assert(u);
|
||||
|
||||
if (pa_source_suspend(u->source, TRUE) < 0)
|
||||
if (pa_source_suspend(u->source, TRUE, PA_SUSPEND_APPLICATION) < 0)
|
||||
return PA_HOOK_CANCEL;
|
||||
|
||||
return PA_HOOK_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue