Commit graph

13 commits

Author SHA1 Message Date
Arun Raghavan
1d2ef7923d volume: Use a macro to check if a volume is valid
This adds a PA_VOLUME_IS_VALID() macro for checking if a given
pa_volume_t is valid. This makes changes to the volume ranges simpler
(just change PA_VOLUME_MAX, for example, without needing to modify any
other code).
2010-10-15 01:10:00 +05:30
Diego Elio 'Flameeyes' Pettenò
d963998676 Rename all the signal parameters and variables to something more explicit.
Without this change, on FreeBSD you'll be bothered by tons of warnings
about overshadowing signal(2).
2009-11-21 00:46:46 +01:00
Tanu Kaskinen
8a28e5de94 dbus: Change IsMuted property names to Mute. 2009-08-31 17:17:09 +03:00
Tanu Kaskinen
0e096632c5 dbus: Do message argument type checking early, centrally. 2009-08-30 19:52:22 +03:00
Tanu Kaskinen
179f849c08 dbusifaca-device: Adapt to the changed pa_sink_get/set_volume() interface. 2009-08-19 09:54:09 +03:00
Tanu Kaskinen
70ff96b8ab dbusiface-device: Save one level of identation by returning early. 2009-08-17 16:55:08 +03:00
Tanu Kaskinen
b528715179 dbusiface-device: Fix argument reading in handle_suspend(). 2009-08-17 16:53:58 +03:00
Tanu Kaskinen
bce6af18a3 dbusiface-device: Use a single if-else section instead of ternary operator overuse. 2009-08-17 16:52:10 +03:00
Tanu Kaskinen
150cd1684a dbusiface-device: Split some overly long lines. 2009-08-17 16:50:29 +03:00
Tanu Kaskinen
f0db081223 dbusiface-device: Free the copied proplist. 2009-08-16 19:41:43 +03:00
Tanu Kaskinen
91f626f777 dbusiface-device: Implement the Device and DevicePort D-Bus interfaces. 2009-08-15 06:18:41 +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
9a77d2f81d Add the forgotten src/modules/dbus directory to git. 2009-07-21 00:04:52 +03:00