summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* device-manager: When a new device is encountered, initialise the priority ↵Colin Guthrie2009-10-011-4/+56
| | | | list to an appropriate value
* device-manager: Let subscribed clients know when something changes.Colin Guthrie2009-10-011-0/+16
|
* device-manager: Change the write function to a rename function.Colin Guthrie2009-10-013-75/+44
| | | | | | | The structure itself will contain various bits of info so exposing this fully to the client is a bad idea. By keeping to a rename operation we keep what we do store abstracted from the clients. Also fix some doxy comments.
* device-manager: Provide a method for prefering/defering a device.Colin Guthrie2009-10-013-0/+238
| | | | | | | | | | This allows clients to edit the priroity order. What is not yet in place is the initialisation of that priority list when new devices are detected or the cleaning (remove holes) when devices are removed. In order to keep the storage transparent I will likely remove the write functionality and replace it with a simple rename method. I also still need to expose the priority itself when reading the data.
* device-manager: Fix copy+paste code that looped over the tagstruct when not ↵Colin Guthrie2009-10-011-40/+37
| | | | necessary
* device-manager: Provide a way for clients to enable/disable role-based ↵Colin Guthrie2009-10-013-0/+95
| | | | | | | device-priority routing. The routing logic itself does not yet exist, but the command currently will unload/load module-stream-restore as approriate. (module-stream-restore would conflict with the role-based priority-routing).
* device-manager: Update docs version -> 0.9.19 (predicted)Colin Guthrie2009-10-011-10/+10
|
* device-manager: Fix copy+paste leftoverColin Guthrie2009-10-011-1/+1
|
* device-manager: Only store and save details for non-monitor sourcesColin Guthrie2009-10-011-4/+13
|
* stream-restore: Preventative initialistion to NULLColin Guthrie2009-10-011-2/+2
| | | | | | | There is not technically a bug here due to the early return and the knowledge that one of the if blocks will definitely be run, but this makes sure we don't call free on uninitialised data or do anything else suitibly daft. Also helps when you copy the code and change it slightly and don't realise you've left things open...
* device-restore: Fix the application of an entry to allow changing the name ↵Colin Guthrie2009-10-011-39/+31
| | | | | | of devices. This fixes a few bugs in the copy+pasted implementation of apply_entry()/get_name().
* device-manager: Fix tagstruct description extraction (copy+paste blunder)Colin Guthrie2009-10-011-1/+1
|
* device-manager: Link native protocol library.Colin Guthrie2009-10-011-1/+1
|
* device-manager: Export device-manager extension functionsColin Guthrie2009-10-011-0/+6
|
* device-manager: Fix indentationColin Guthrie2009-10-011-4/+4
|
* device-manager: Add an untested protocol extension.Colin Guthrie2009-10-016-1/+732
| | | | This is effectively copied from the stream restore extension.
* device-manager: Add a new module to keep track of the names and descriptions ↵Colin Guthrie2009-10-012-2/+362
| | | | | | | | | | of various sinks. This will be used as the basis for a queryable system for past and present devices, initially for use in KDE. Currently all this module does is save lists of sinks/sources and their descriptions, so it needs to gain a protocol extension to make this queryable. As things stand it will save the device descriptions of all sinks and restore them if they differ from whats on record.
* polkit: drop left-over polkit policy file from git treeLennart Poettering2009-09-291-50/+0
|
* Don't refuse to start on systems using GNU stow, graft, STORE et alNix2009-09-291-2/+7
| | | | | | | | | | | | | | | | | | | | There are multiple package management systems out there which implement packages using symlinks. The recent (otherwise useful) check to ensure that a re-executed pulseaudio is actually reexecuting itself unfortunately breaks in the presence of all these packaging systems, because PA_BINARY refers to its installed location (e.g. /usr/local/bin/pulseaudio), which is a symlink to the binary (e.g. /usr/local/stow/pulseaudio-0.9.18/bin/pulseaudio), because /proc/self/exe always contains the canonical path of the executable, with all symlinks resolved. (At least one distribution uses a symlink-based packaging system, so will be forced to apply this locally in any case.) The fix is simple: canonicalize PA_BINARY before equality-testing. (This should be completely safe, because the OS does just that when PA_BINARY is executed.) The patch is against 0.9.18, but applies without fuzz to current master.
* reserve: downgrade reserve logic messages, so that reusing pa in two ↵Lennart Poettering2009-09-281-5/+5
| | | | sessions does not create spew in syslog
* svolume: tweak constraints for 32 bitsWim Taymans2009-09-232-4/+4
| | | | | | Tweak the constraints a little so that register starved 32bit systems can select a stack variable for the channel paramter instead of reusing one of the registers we're using in the code.
* libpulse: Add *_NOFLAGS flags with value 0 for various enumsColin Guthrie2009-09-221-0/+11
| | | | This avoids the need for ugly casting in client implementations.
* tunnel: fix parsing of source info from newer serversColin Guthrie2009-09-201-2/+29
|
* tunnel: fix parsing of sink info from newer serversEmil Renner Berthing2009-09-201-0/+27
|
* stream-restore: Comment fixColin Guthrie2009-09-201-1/+1
|
* core: dump proplist when creating stream similar to how we already to it for ↵Lennart Poettering2009-09-202-4/+12
| | | | sinks/sources
* alsa: make build gcc clean on 32bitLennart Poettering2009-09-201-1/+1
|
* memtrap: properly add items to linked listLennart Poettering2009-09-191-1/+4
|
* gconf: run the wrapper script when running gconf-helper from build treeLennart Poettering2009-09-181-1/+1
|
* namereg: choose default sink/source as soon as one becomes availableLennart Poettering2009-09-181-1/+12
|
* memblock: don't try to reuse PA_MEMBLOCK_APPENDED memblocks since they ↵Lennart Poettering2009-09-181-4/+11
| | | | usually are much bigger than we want them
* mainloop: fix detection of rt clocksLennart Poettering2009-09-181-8/+7
|
* socket-client: modernizationsLennart Poettering2009-09-182-38/+24
|
* memblock: modernizationsLennart Poettering2009-09-181-3/+2
|
* conf: Fix typo in daemon.conf: rlimit-rtttime - too many t'sColin Guthrie2009-09-181-1/+1
| | | | Spotted by peol on IRC
* alsa: Give all ports a human name to allow UI tools to present the choice to ↵Colin Guthrie2009-09-181-3/+3
| | | | users.
* rtp: Remove 'fix me' comment after it was actually fixed in [56b6e1]Colin Guthrie2009-09-181-2/+0
| | | | That's what you get for applying your stash without fully checking if anything else was committed in the mean time :p
* mainloop: pass monotonic times back to user if he passed monotonic times to usLennart Poettering2009-09-181-6/+16
|
* timeval: make timeval conversion routines handle PA_USEC_INVALID specialLennart Poettering2009-09-182-2/+17
|
* timeval: add UNLIKELY annotationLennart Poettering2009-09-181-3/+3
|
* timeval: make pa_timeval_sub saturatingLennart Poettering2009-09-181-12/+38
|
* core-rtclock: introduce pa_timespec_store() akin pa_timeval_store()Lennart Poettering2009-09-182-0/+15
|
* timeval: introduce PA_USEC_MAXLennart Poettering2009-09-181-2/+5
|
* macro: introduce PA_INT_TYPE_MIN, PA_INT_TYPE_MAX, PA_INT_TYPE_SIGNED macrosLennart Poettering2009-09-181-0/+12
|
* mainloop: sum up dispatched events in an unsigned to clarify rangeLennart Poettering2009-09-181-8/+9
|
* mainloop: use PA_LLIST_FOREACH macros where applicableLennart Poettering2009-09-181-26/+30
|
* mainloop: don't initialize fields we don't have toLennart Poettering2009-09-181-30/+4
|
* mainloop: calculate in pa_usec_t everywhereLennart Poettering2009-09-181-21/+46
|
* mainloop: properly convert time to wallclock time when handing it to the userLennart Poettering2009-09-181-1/+1
|
* alsa: fix Surround mixer element nameLennart Poettering2009-09-183-3/+3
| | | | | | s/Sourround/Surround/ Spotted by Colin Guthrie