Commit graph

985 commits

Author SHA1 Message Date
Tanu Kaskinen
1e65d8d35b dbusiface-core: New function: pa_dbusiface_core_get_card_path(). 2009-08-15 06:11:38 +03:00
Tanu Kaskinen
90c73db449 dbusiface-card: Fix the OwnerModule property type in handle_get_all(). 2009-08-15 06:09:35 +03:00
Tanu Kaskinen
31c544d843 dbusiface-card: Assert that the profiles list is empty if there's no active
profile.
2009-08-15 06:00:46 +03:00
Tanu Kaskinen
18f9f1b5d1 dbusiface-card: Use the ++ operator like it's meant to be used. 2009-08-15 05:58:24 +03:00
Tanu Kaskinen
afb79ee83e dbusiface-card-profile: Assert the core argument isn't NULL. 2009-08-15 05:53:36 +03:00
Tanu Kaskinen
8b5550dba3 dbusiface-card: Split some overly long lines. 2009-08-15 05:51:55 +03:00
Tanu Kaskinen
8c8df77d2a dbusiface-card-profile: Implement the CardProfile D-Bus interface. 2009-08-09 10:36:20 +03:00
Tanu Kaskinen
acad506328 dbusiface-card: Implement the Card D-Bus interface. 2009-08-09 09:21:42 +03:00
Tanu Kaskinen
5ece8e8833 dbusiface-core: Add functions for getting various object paths. 2009-08-09 09:10:05 +03:00
Tanu Kaskinen
0b6662023b dbusiface-core: Generate more informative error messages. 2009-08-09 09:06:21 +03:00
Tanu Kaskinen
06232e2965 dbus: Take advantage of the PA_HASHMAP_FOREACH macro. 2009-08-09 09:04:15 +03:00
Tanu Kaskinen
fcf68752e6 dbus: Three entangled changes:
* Make the dbus object constructors take a pa_dbusiface_core pointer
   as an argument. Remove the path_prefix argument.

 * Expose the core object path as a constant in protocol-dbus.h.

 * Move the core interface name constant from iface-core.h to
   protocol-dbus.h.
2009-08-09 08:37:33 +03:00
Tanu Kaskinen
44770c59e9 dbusiface-memstats: Implement the Memstats D-Bus interface. 2009-08-04 18:01:26 +03:00
Tanu Kaskinen
b1578e27b6 dbus-protocol, dbusiface-core: Take a reference when storing the core pointer. 2009-08-04 17:55:10 +03:00
Tanu Kaskinen
8966c61d33 dbusiface-core: Make the interface string a public constant. 2009-08-04 17:50:18 +03:00
Tanu Kaskinen
d9d166a691 stream-restore: Expose module to D-Bus. 2009-08-03 19:38:02 +03:00
Tanu Kaskinen
a1ba80bc4e dbusiface-core: Don't die if we get a default sink/source change event before the new default device is actually created. 2009-08-01 08:26:51 +03:00
Tanu Kaskinen
68cb63c0d9 dbusiface-core: Send signals whenever extensions are registered and unregistered. 2009-07-31 12:06:53 +03:00
Tanu Kaskinen
b061957e57 dbus/iface-core.c: Make sure D-Bus objects are created only once. 2009-07-30 13:11:32 +03:00
Tanu Kaskinen
018810ec9a Bug fixing and minor cleanups. 2009-07-27 20:01:39 +03:00
Tanu Kaskinen
9a77d2f81d Add the forgotten src/modules/dbus directory to git. 2009-07-21 00:04:52 +03:00
Tanu Kaskinen
9347e90fed Finish the Core dbus interface. 2009-07-21 00:02:27 +03:00
Tanu Kaskinen
c266595058 Merge branch 'master' into dbus-work 2009-06-29 18:55:12 +03:00
Diego Elio 'Flameeyes' Pettenò
2266a39bd3 Remove the call for pa_rtpoll_install() in the Solaris module.
I hope this is enough, since the removal of the other pa_rtpoll_install()
calls deemed Linux good enough, but said nothing about Solaris, but since
the function is gone there is little more to do.
2009-06-29 17:41:27 +02:00
Diego Elio 'Flameeyes' Pettenò
24564afc43 Fix the moved rtclock.h header in the Solaris module. 2009-06-29 17:41:18 +02:00
Tanu Kaskinen
0bc538b08c Merge branch 'master' into dbus-work
Conflicts:
	src/daemon/daemon-conf.c
	src/daemon/daemon-conf.h
	src/daemon/main.c
	src/pulsecore/dbus-util.h
2009-06-29 18:35:06 +03:00
Lennart Poettering
5b78752a04 intended-roles: drop quite a few unnecessary includes 2009-06-23 16:09:32 +02:00
Lennart Poettering
ef85558abd modules: pass properly initialized userdata pointers to various hooks 2009-06-23 04:25:45 +02:00
Lennart Poettering
b6d0b0e808 intended-roles: properly initialize split state 2009-06-23 04:23:26 +02:00
Lennart Poettering
b627d68721 intended-roles: fix symdef header inclusion 2009-06-23 03:35:34 +02:00
Lennart Poettering
fc33f7ee97 Merge most of elmarco/rtclock2
Merge commit 'e4d914c945'
2009-06-22 23:09:46 +02:00
Lennart Poettering
374efbded4 Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio 2009-06-22 22:36:31 +02:00
Lennart Poettering
aa2570c2ba rescue: make sure module-rescue-streams is used only as last fallback 2009-06-22 22:36:23 +02:00
Lennart Poettering
60d36c7e74 module-stream-restore: recheck stream database on hotplug/unplug and potentially move streams 2009-06-22 22:35:55 +02:00
Lennart Poettering
27af46045b modules: add module-intended-roles that automatically puts streams marked with a role on devices that are intended for that role 2009-06-22 22:34:57 +02:00
Lennart Poettering
c4d90ea986 restore: change 'save' flag behaviour to reflect whether an entry shall and/or is in the on-disk databases 2009-06-22 22:33:09 +02:00
Marc-André Lureau
0955e3d45b Base mainloop on pa_rtclock_now()
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>
2009-06-20 17:29:31 +03:00
Marc-André Lureau
125c528896 pulse: move pa_rtclock_now in pulsecommon 2009-06-20 17:29:08 +03:00
Tanu Kaskinen
b152f3a052 module-dbus-protocol: Allow anyone to connect the daemon in system mode. 2009-06-20 10:17:46 +03:00
Lennart Poettering
32e2cd6d32 core: get rid of rt sig/timer handling since modern Linux' ppooll() is finally fixed for granularity 2009-06-19 21:00:06 +02:00
Marc-André Lureau
5dcdd5e358 perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' find . -name '*.[ch]' 2009-06-19 19:04:04 +03:00
Tanu Kaskinen
3c6a0acc98 dbus-protocol: Implement TCP server startup. 2009-06-19 15:17:57 +03:00
Tanu Kaskinen
123c6a3c6f dbus-common: Implement infrastructure for registering D-Bus objects on all
client connections and for receiving method calls from clients.
2009-06-19 10:28:08 +03:00
Lennart Poettering
6ad3855639 alsa: synthesize volume values more sensibly for channels that are not controllable in hw 2009-06-19 02:03:03 +02:00
Lennart Poettering
b1ea7c0d89 alsa: document alsa mixer path/profile sets a bit more 2009-06-19 01:55:59 +02:00
Lennart Poettering
b70b5edcfc alsa: add copyright blobs and comments to all mixer paths/profile sets 2009-06-19 01:30:24 +02:00
Lennart Poettering
11d2a7ee21 alsa: move udev rules file behind the other sound related rules 2009-06-18 23:03:28 +02:00
Lennart Poettering
0fd17c6cb9 alsa: document default profile set a bit better 2009-06-18 23:00:53 +02:00
Lennart Poettering
8a5f8f41f6 alsa: add profile set for Native Instruments 4 DJ 2009-06-18 22:58:58 +02:00
Lennart Poettering
348dcd6a31 alsa: unify alsa log handling and snd_config_update_free_global() handling in one place 2009-06-18 21:27:02 +02:00