From: Lennart Poettering Date: Fri, 3 Oct 2008 23:07:38 +0000 (+0200) Subject: increase suspend timeout to 5s so that it is always longer then the default tsched... X-Git-Url: https://code.delx.au/pulseaudio/commitdiff_plain/87c8132ce3f58eb65e742f085b364850c40fbf6a increase suspend timeout to 5s so that it is always longer then the default tsched buffer size of 2s --- diff --git a/src/modules/module-suspend-on-idle.c b/src/modules/module-suspend-on-idle.c index bc7c023c..6cc28ec5 100644 --- a/src/modules/module-suspend-on-idle.c +++ b/src/modules/module-suspend-on-idle.c @@ -337,7 +337,7 @@ static pa_hook_result_t device_state_changed_hook_cb(pa_core *c, pa_object *o, s int pa__init(pa_module*m) { pa_modargs *ma = NULL; struct userdata *u; - uint32_t timeout = 1; + uint32_t timeout = 5; uint32_t idx; pa_sink *sink; pa_source *source;