summaryrefslogtreecommitdiffstats
path: root/src/modules/module-stream-restore.c
Commit message (Collapse)AuthorAgeFilesLines
* modules: pass properly initialized userdata pointers to various hooksLennart Poettering2009-06-231-2/+2
|
* Merge most of elmarco/rtclock2Lennart Poettering2009-06-221-7/+4
|\ | | | | | | Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043'
| * Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | module-stream-restore: recheck stream database on hotplug/unplug and ↵Lennart Poettering2009-06-221-4/+190
| | | | | | | | potentially move streams
* | restore: change 'save' flag behaviour to reflect whether an entry shall ↵Lennart Poettering2009-06-221-17/+17
|/ | | | and/or is in the on-disk databases
* card,stream-restore: minor cleanupsLennart Poettering2009-06-181-9/+5
|
* stream-restore: e don't need to save stream data that came from the databaseLennart Poettering2009-06-181-6/+6
|
* database: port restore modules to new database APILennart Poettering2009-05-141-82/+56
|
* core: introduce new 'reference' volume for sinksLennart Poettering2009-04-131-89/+53
| | | | | | | | | | | | | | | The reference volume is to be used as reference volume for stored stream volumes. Previously if a new stream was created the relative volume was taken relatively to the virtual device volume. Due to the flat volume logic this could then be fed back to the virtual device volume. Repeating the whole story over and over would result in a device volume that would go lower, and lower and lower. This patch introduces a 'reference' volume for each sink which stays unmodified by stream volume changes even if flat volumes are used. It is only modified if the sink volumes are modified directly by the user. For further explanations see http://pulseaudio.org/wiki/InternalVolumes
* always remap relative volume properlyLennart Poettering2009-03-201-12/+10
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* stream-resotre: don't leak a nameMarc-André Lureau2009-02-191-0/+2
|
* make PA_GCC_PACKED and PA_GCC_MALLOC actually workLennart Poettering2009-02-131-2/+2
|
* store the identification key in the module-stream-restore.id propertyLennart Poettering2009-02-041-5/+13
|
* remove soft volume from pa_sink_input_new_info since it should be handled ↵Lennart Poettering2009-02-041-19/+23
| | | | internally and automatically by the sink input
* fix a validity checkLennart Poettering2009-02-041-1/+1
|
* version all entries in the databaseLennart Poettering2009-02-041-10/+19
|
* add missing usage stringsLennart Poettering2009-01-281-0/+4
|
* instead of making the volume relative our own, let' pa_sink_input_new() do ↵Lennart Poettering2009-01-271-5/+10
| | | | it for us
* only store volume/device information that has been flagged for saving, and ↵Lennart Poettering2009-01-271-47/+158
| | | | store both relative and absolute volumes
* when changing volume, store whether it is worth remembering or noLennart Poettering2009-01-271-3/+3
|
* move flat volume logic into the core. while doing so add n_volume_steps ↵Lennart Poettering2009-01-271-2/+2
| | | | field to sinks/sources
* minor cleanupsLennart Poettering2009-01-211-3/+3
|
* kill autoload stuff as plannedLennart Poettering2009-01-151-4/+4
|
* Pass GDBM_NOLOCK to gdbmLennart Poettering2008-12-171-1/+1
| | | | | | | | | | gdbm still uses BSD lockf for locking which is incompatible with NFS. Since we don't need the locking here since the db files in question should never be accessed by more than one process since they are per-home-dir and per-machine we can disable locking without any ill results. This should fix rhbz #471279.
* fix arguments to format stringLennart Poettering2008-10-211-1/+1
|
* if a stream comes with now sensible properties attached, use commonLennart Poettering2008-10-081-1/+1
| | | | fallback db entry.
* fix minor typoLennart Poettering2008-09-091-1/+1
|
* reduce needlessly large gdbm cache a bitLennart Poettering2008-08-291-0/+5
|
* add a few more gcc warning flags and fix quite a few problems found by doing soLennart Poettering2008-08-191-5/+5
|
* restore volume/device for streams only when it wasn't set beforeLennart Poettering2008-08-181-8/+21
|
* apply newly configured rules properlyLennart Poettering2008-08-151-2/+3
|
* apply volumes properly more than once in a rowLennart Poettering2008-08-151-1/+2
|
* apply the correct rules to sink inputsLennart Poettering2008-08-151-1/+1
|
* don't restore devices for direct-on-input streamsLennart Poettering2008-08-151-0/+1
|
* make gcc shut upLennart Poettering2008-08-091-1/+1
|
* Modify pa_state_path() to take an additional argument for prepending the ↵Lennart Poettering2008-08-071-5/+5
| | | | machine id to the file name.
* add a function to dump the stream database for debugging purposesLennart Poettering2008-08-051-0/+32
|
* add protocol extension to module-stream-restoreLennart Poettering2008-08-041-10/+322
|
* store channel map in database and remap volumes if necessaryLennart Poettering2008-08-041-10/+23
|
* add new module module-stream-restoreLennart Poettering2008-08-031-0/+433