]> code.delx.au - pulseaudio/commitdiff
increase suspend timeout to 5s so that it is always longer then the default tsched...
authorLennart Poettering <lennart@poettering.net>
Fri, 3 Oct 2008 23:07:38 +0000 (01:07 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 3 Oct 2008 23:07:38 +0000 (01:07 +0200)
src/modules/module-suspend-on-idle.c

index bc7c023ca07f28c45d2feaafbaecf31b62d3a66a..6cc28ec52c0ccf5f04680621c96603ba0c3ffdc0 100644 (file)
@@ -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;