summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-10-04 01:07:38 +0200
committerLennart Poettering <lennart@poettering.net>2008-10-04 01:07:38 +0200
commit87c8132ce3f58eb65e742f085b364850c40fbf6a (patch)
tree6d67cdc8091bc2764081db0f9912051c81e6c96b
parent530b95fec50b6b7fb0ff1fd1a4eb9e4123bb32a0 (diff)
increase suspend timeout to 5s so that it is always longer then the default tsched buffer size of 2s
-rw-r--r--src/modules/module-suspend-on-idle.c2
1 files changed, 1 insertions, 1 deletions
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;