Tanu Kaskinen
22ab141450
dbus-protocol: Use pa_hashmap_remove() instead of _get().
2009-08-15 06:13:17 +03:00
Tanu Kaskinen
31117fe99e
dbus-protocol: Fix signal sending for the case when the client doesn't listen
...
for all signals.
2009-08-10 10:40:40 +03:00
Tanu Kaskinen
7cfda56af9
dbus-protocol: Add a note for _send_signal that by default the signal isn't
...
actually sent.
2009-08-10 10:38:01 +03:00
Tanu Kaskinen
16dce8d7cb
dbus-protocol: Take advantage of the helpers in dbus-util.
2009-08-09 09:19:33 +03:00
Tanu Kaskinen
7699cfd4c0
dbus-protocol: Split some overly long lines.
2009-08-09 09:18:03 +03:00
Tanu Kaskinen
76bd03bddb
dbus-util: Trivial comment punctuation fix.
2009-08-09 09:14:27 +03:00
Tanu Kaskinen
3e9de1a36c
dbus-util: Add helpers for proplist handling.
2009-08-09 09:12:31 +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
0fc055226c
dbus-protocol: Remove erroneous protocol object unref.
2009-08-04 18:00:08 +03:00
Tanu Kaskinen
9eeb8eb272
dbus-protocol: Make debug logging saner.
2009-08-04 17:57:44 +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
805af5e801
dbus-util: Fix broken proplist reading logic.
2009-08-03 19:36:19 +03:00
Tanu Kaskinen
8c840572c7
dbus-protocol: Add debugging output (temporary change).
2009-08-02 11:12:21 +03:00
Tanu Kaskinen
c354a08fe3
dbus-protocol: Implement extension registration.
2009-07-31 12:05:49 +03:00
Tanu Kaskinen
018810ec9a
Bug fixing and minor cleanups.
2009-07-27 20:01:39 +03:00
Tanu Kaskinen
9347e90fed
Finish the Core dbus interface.
2009-07-21 00:02:27 +03:00
Tanu Kaskinen
5c7952e4fa
dbus: Implement the Name property of the core object.
2009-07-03 02:49:07 +03:00
Tanu Kaskinen
c266595058
Merge branch 'master' into dbus-work
2009-06-29 18:55:12 +03:00
Diego Elio 'Flameeyes' Pettenò
1ca7603109
Add missing headers includes for FreeBSD.
...
This removes the implicit declarations of send() and pthread_sigmask().
2009-06-29 17:42:07 +02:00
Diego Elio 'Flameeyes' Pettenò
bce211e416
Rename the flock variable to f_lock.
...
flock() is a function on FreeBSD, and the variable shadowed its definition.
2009-06-29 17:41:57 +02:00
Diego Elio 'Flameeyes' Pettenò
6f44792806
Only declare saved_errno when it's going to be used (on Linux).
2009-06-29 17:41:45 +02:00
Diego Elio 'Flameeyes' Pettenò
9a2ac32dcd
Rename the wait parameter to wait_op, to avoid shadowing wait().
2009-06-29 17:41:37 +02:00
Diego Elio 'Flameeyes' Pettenò
de40e41446
Also alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD.
2009-06-29 17:41:06 +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
2654eb7781
sndfile: fix build on BE archs
2009-06-23 18:54:17 +02:00
Lennart Poettering
d965000982
rtclock: make use of constants when converting between nsec and usec
2009-06-23 03:55:32 +02:00
Lennart Poettering
882cdfc123
rtclock: fix type of PA_TIMEVAL_RTCLOCK
2009-06-23 00:17:26 +02:00
Lennart Poettering
fc33f7ee97
Merge most of elmarco/rtclock2
...
Merge commit 'e4d914c945 '
2009-06-22 23:09:46 +02:00
Marc-André Lureau
e4d914c945
rtclock: fix issues found by Lennart
2009-06-20 17:29:34 +03: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
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
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
bacc5ca6f4
core: use rtkit to acquire high-priority scheduling
2009-06-19 04:45:19 +02:00
Lennart Poettering
8474fd7c62
core: ask RealtimeKit for RT scheduling
2009-06-19 04:19:08 +02:00
Lennart Poettering
8fe50b0d7c
alsa,core: include mapping name in description strings
2009-06-18 04:38:59 +02:00
Lennart Poettering
39b37a2bac
core: be a bit more verbose when registering a sink/source fails
2009-06-18 03:40:47 +02:00
Lennart Poettering
46b8ca21d1
native-protocol: allow enumerating ports
2009-06-17 23:17:37 +02:00
Lennart Poettering
6d7cf14dbf
native: implement command to change sink/source port
2009-06-17 04:52:41 +02:00
Lennart Poettering
31575f7766
alsa: rework mixer logic
...
Completely rework mixer logic. This now allows controlling a full set of
elements from a single sink's volume slider/mute button.
This also introduces sink and source "ports" that can be used to choose
different input or output ports with the UI. (i.e. "mic"/"line-in" or
"speaker"/"headphones".
The mixer paths and device maps are now configered in external
configuration files and can be tweaked as necessary.
2009-06-17 03:45:14 +02:00
Lennart Poettering
e9c70ac41b
pdispatch: fix s/recieve/receive/ typos
2009-06-17 03:18:14 +02:00
Lennart Poettering
1ec33f37d9
pstream: fix s/recieve/receive/ typos
2009-06-17 03:17:23 +02:00
Lennart Poettering
dddb4b02b3
gdbm: set default block size to 1K
2009-06-17 03:16:48 +02:00
Lennart Poettering
279e0d678e
card: get rid of description field which is unused
2009-06-17 03:16:13 +02:00
Lennart Poettering
4f44fe86fb
card: make sure to always hand failure code back in some calls
2009-06-17 03:15:56 +02:00
Lennart Poettering
325c01bdbc
card: some modernizations
2009-06-17 03:15:36 +02:00
Lennart Poettering
0fa1ddf838
core-util: implement pa_maybe_prefix_path()
2009-06-17 03:13:59 +02:00
Lennart Poettering
7fa05bea7e
core-util: implement pa_split_spaces_strv()
2009-06-17 03:13:32 +02:00