summaryrefslogtreecommitdiffstats
path: root/src/modules/module-suspend-on-idle.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-1/+0
|
* suspend-on-idle: Trigger mempool vacuumingJyri Sarha2011-05-151-1/+40
| | | | | | | | In a setup with one or more filter sinks or sources there is always at least one stream existing. In such a situation normal mempool vacuuming never happens. This patch causes suspend-on-idle module to vacuum memory when ever it notices that all sinks and sources are suspended. The behavior can be enabled with a module parameter.
* Update PA_MODULE_USAGE to be in line with actual implementationMaarten Bosmans2011-03-181-0/+1
|
* suspend-on-idle: resume audio device even for initially corked streamsLennart Poettering2010-02-221-5/+3
| | | | | | | | | | | | We need to resume audio devices even for streams that are created in corked stat, so that the latency ranges of the audio device are known during the initial latency negotiation. If we don't the latency negotiation will be based on placeholder data and changed later on which clients do not expect. This should fix issues with Skype. https://bugzilla.redhat.com/show_bug.cgi?id=554929
* suspend-on-idle: don't resume devices for corked streamsLennart Poettering2009-08-281-12/+18
|
* Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-10/+9
| | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
* core: add a suspend cause flags fieldLennart Poettering2009-06-051-6/+6
|
* suspend-on-idle: add per-device timeout propertyMarc-André Lureau2009-05-121-3/+13
|
* never try to suspend monitor sources, suspend the sinks they belong to insteadLennart Poettering2009-03-041-13/+50
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* addendum to f56da9893: don't crash when s->sink is NULLLennart Poettering2009-02-121-0/+3
|
* suspend-on-idle: don't crash when so->source is NULLMarc-André Lureau2009-02-111-0/+3
|
* move sink input/source output move functions into two parts so that we can ↵Lennart Poettering2009-01-231-20/+48
| | | | start the move, delete the original sink, create a new sink, finish the move; similar for source outputs
* Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTEDLennart Poettering2008-10-261-10/+10
|
* increase suspend timeout to 5s so that it is always longer then the default ↵Lennart Poettering2008-10-041-1/+1
| | | | tsched buffer size of 2s
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* merge Colin Guthrie's module-always-sink module, and add priorization to the ↵Lennart Poettering2008-06-111-15/+15
| | | | | | hook subsystem while doing so. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2516 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* - Check process name when dealing with PID filesLennart Poettering2007-11-211-50/+22
| | | | | | | | | | | | - Add new PA_STREAM_FIX_CHANNELS, FIX_RATE, FIX_FORMAT, DONT_MOVE, VARIABLE_RATES to pa_sream_flags_t adn implement it - Expose those flags in pacat - Add notifications about device suspend/resume to the protocol and expose them in libpulse - Allow changing of buffer_attr during playback - allow disabling for remixing globally - hookup polkit support git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2067 fefdeb5f-60dc-0310-8127-8f9354f1896f
* tag modules that may only be loaded once at most especially, and enforce ↵Lennart Poettering2007-11-091-3/+4
| | | | | | that in the module loader git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2043 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge 'lennart' branch back into trunk.Lennart Poettering2007-10-281-0/+473
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f