Commit graph

4833 commits

Author SHA1 Message Date
Colin Guthrie
aebe4787f2 device-manager: Provide a method for prefering/defering a device.
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.
2009-10-01 09:08:29 +01:00
Colin Guthrie
95f28393ab device-manager: Fix copy+paste code that looped over the tagstruct when not necessary 2009-10-01 09:08:29 +01:00
Colin Guthrie
103897a1e3 device-manager: Provide a way for clients to enable/disable role-based 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).
2009-10-01 09:08:29 +01:00
Colin Guthrie
9357bdf4e7 device-manager: Update docs version -> 0.9.19 (predicted) 2009-10-01 09:08:29 +01:00
Colin Guthrie
464e1a8986 device-manager: Fix copy+paste leftover 2009-10-01 09:08:29 +01:00
Colin Guthrie
aa5d56ba75 device-manager: Only store and save details for non-monitor sources 2009-10-01 09:08:28 +01:00
Colin Guthrie
42b30e1aa2 stream-restore: Preventative initialistion to NULL
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...
2009-10-01 09:08:28 +01:00
Colin Guthrie
64979385e0 device-restore: Fix the application of an entry to allow changing the name of devices.
This fixes a few bugs in the copy+pasted implementation of apply_entry()/get_name().
2009-10-01 09:08:28 +01:00
Colin Guthrie
40e97eb698 device-manager: Fix tagstruct description extraction (copy+paste blunder) 2009-10-01 09:08:28 +01:00
Colin Guthrie
70accbbd61 device-manager: Link native protocol library. 2009-10-01 09:08:28 +01:00
Colin Guthrie
0b3b037e22 device-manager: Export device-manager extension functions 2009-10-01 09:08:28 +01:00
Colin Guthrie
93c3c655e4 device-manager: Fix indentation 2009-10-01 09:08:28 +01:00
Colin Guthrie
37e82cec0a device-manager: Add an untested protocol extension.
This is effectively copied from the stream restore extension.
2009-10-01 09:08:28 +01:00
Colin Guthrie
bc869b5b28 device-manager: Add a new module to keep track of the names and descriptions 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.
2009-10-01 09:08:27 +01:00
Lennart Poettering
afd1b6d355 build-sys: bump soname 2009-09-30 03:04:12 +02:00
Lennart Poettering
c622f77cf0 i18n: run make update-po 2009-09-30 02:43:55 +02:00
Lennart Poettering
6a3b51a530 i18n: ad more .c files to POTFILES.in 2009-09-29 23:48:37 +02:00
Lennart Poettering
b8de3bd214 polkit: drop left-over polkit policy file from git tree 2009-09-29 23:48:07 +02:00
Nix
eac566226e Don't refuse to start on systems using GNU stow, graft, STORE et al
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.
2009-09-29 19:32:25 +02:00
Lennart Poettering
faf113d95b i18n: run make update-po 2009-09-29 19:27:02 +02:00
Lennart Poettering
0c8475789e Merge remote branch 'origin/master-tx' 2009-09-29 19:24:26 +02:00
Lennart Poettering
d06f2eaf30 reserve: downgrade reserve logic messages, so that reusing pa in two sessions does not create spew in syslog 2009-09-28 19:54:37 -07:00
jsimon
c992ad2729 Sending translation for German 2009-09-28 14:50:12 +00:00
jsimon
966a25922d Sending translation for German 2009-09-28 14:48:17 +00:00
raven
31d59de628 Sending translation for Polish 2009-09-27 13:42:46 +00:00
Wim Taymans
5eecd8ea7d svolume: tweak constraints for 32 bits
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.
2009-09-23 17:18:20 +02:00
ruigo
c04b75a944 Sending translation for Portuguese 2009-09-22 20:45:29 +00:00
Colin Guthrie
8f4940b17a libpulse: Add *_NOFLAGS flags with value 0 for various enums
This avoids the need for ugly casting in client implementations.
2009-09-22 18:43:03 +01:00
shanky
183c9ab9af Sending translation for Kannada 2009-09-22 10:12:04 +00:00
anipeter
c4b154ba95 Sending translation for Malayalam 2009-09-21 15:24:57 +00:00
sandeeps
f078e69386 Sending translation for Marathi 2009-09-21 12:49:41 +00:00
kkrothap
20a5b0ea73 Sending translation for Telugu 2009-09-21 11:57:52 +00:00
rajesh
e8692bc51a Sending translation for Hindi 2009-09-21 10:57:45 +00:00
Colin Guthrie
c194db71b0 tunnel: fix parsing of source info from newer servers 2009-09-20 21:36:14 +01:00
Emil Renner Berthing
592345fd36 tunnel: fix parsing of sink info from newer servers 2009-09-20 21:28:49 +01:00
Colin Guthrie
cc6932c4c8 stream-restore: Comment fix 2009-09-20 18:51:20 +01:00
Lennart Poettering
e7686a607d core: dump proplist when creating stream similar to how we already to it for sinks/sources 2009-09-20 03:18:03 +02:00
Lennart Poettering
88b777311d alsa: make build gcc clean on 32bit 2009-09-20 03:17:36 +02:00
Lennart Poettering
33b45cd72a Merge remote branch 'origin/master-tx' 2009-09-19 02:35:13 +02:00
Lennart Poettering
6c0317dbdf build-sys: bump soname for release 2009-09-19 01:58:03 +02:00
Lennart Poettering
ab6ed0683f vala: install .vapi file by default 2009-09-19 01:55:46 +02:00
Lennart Poettering
3fe9f8fbf8 vala: numerous updates 2009-09-19 01:49:36 +02:00
ricardopinto
e141ddcad4 Sending translation for Portuguese 2009-09-18 22:44:59 +00:00
Lennart Poettering
996051ebc1 memtrap: properly add items to linked list 2009-09-19 00:21:34 +02:00
Lennart Poettering
56e1290ef6 gconf: run the wrapper script when running gconf-helper from build tree 2009-09-18 23:31:54 +02:00
Lennart Poettering
8ad8e393f1 namereg: choose default sink/source as soon as one becomes available 2009-09-18 22:42:37 +02:00
Lennart Poettering
1d19d6b878 i18n: run make update-po 2009-09-18 22:21:08 +02:00
Lennart Poettering
3cb8e0191c Merge remote branch 'origin/master-tx' 2009-09-18 22:16:59 +02:00
Lennart Poettering
9697c5dc18 memblock: don't try to reuse PA_MEMBLOCK_APPENDED memblocks since they usually are much bigger than we want them 2009-09-18 22:16:26 +02:00
Lennart Poettering
f84d755d6a mainloop: fix detection of rt clocks 2009-09-18 22:16:25 +02:00