diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-10-04 01:07:38 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-10-04 01:07:38 +0200 |
commit | 87c8132ce3f58eb65e742f085b364850c40fbf6a (patch) | |
tree | 6d67cdc8091bc2764081db0f9912051c81e6c96b /src/modules/module-suspend-on-idle.c | |
parent | 530b95fec50b6b7fb0ff1fd1a4eb9e4123bb32a0 (diff) |
increase suspend timeout to 5s so that it is always longer then the default tsched buffer size of 2s
Diffstat (limited to 'src/modules/module-suspend-on-idle.c')
-rw-r--r-- | src/modules/module-suspend-on-idle.c | 2 |
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 bc7c023ca..6cc28ec52 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; |