summaryrefslogtreecommitdiffstats
path: root/src/modules/dbus
Commit message (Collapse)AuthorAgeFilesLines
* sink-input: Add volume_writable to pa_sink_input.Tanu Kaskinen2011-03-291-5/+5
| | | | | | | | | | This is pretty cosmetic change; there's no actual functionality added. Previously the volume_writable information was available through the pa_sink_input_is_volume_writable() function, but I find it cleaner to have a real variable. The sink input introspection variable name was also changed from read_only_volume to volume_writable for consistency.
* dbus: Do not refcnt the core.Colin Guthrie2011-03-252-4/+2
| | | | | | | We should not call pa_core_ref() anywhere in the code. Doing so will prevent proper daemon shutdown as the only call (in daemon/main.c) to pa_core_unref() should always call free_core() and perform a normal shutdown (i.e. unload all modules gracefully).
* dbus: Always accept mono volumes when setting device or stream volume.Tanu Kaskinen2011-03-112-10/+8
| | | | | pa_sink_set_volume() and friends accept mono volumes too, so no need to impose unneeded restrictions in the D-Bus API.
* dbusiface-stream: Fix crash when there's no resampling used.Tanu Kaskinen2011-03-111-0/+5
|
* Allow read-only or non-existing sink input volume.Tanu Kaskinen2011-02-221-43/+77
| | | | | | | | | | | | There are two known cases where read-only or non-existing sink input volume is relevant: passthrough streams and the planned volume sharing logic. Passthrough streams don't have volume at all, and the volume sharing logic requires read-only sink input volume. This commit is primarily working towards the volume sharing feature, but support for non-existing sink input volume is also added, because it is so closely related to read-only volume. Some unrelated refactoring in iface-stream.c creeped into this commit too (new function: stream_to_string()).
* dbusiface-stream: Send the Device property in the GetAll handler.Tanu Kaskinen2011-02-221-0/+1
|
* build: Don't include empty Makefile.am in subdirsMaarten Bosmans2011-01-311-20/+0
|
* build-sys: Fix a warning during distcheckArun Raghavan2010-12-051-0/+20
| | | | | This adds a dummy Makefile.am to the dbus module to eliminate missing directory warnings during distcheck.
* dbus: Fix log message after volume changes.Colin Guthrie2010-10-191-1/+1
|
* volume: Fix incorrect usage of PA_VOLUME_IS_VALIDArun Raghavan2010-10-192-3/+3
| | | | | The commit that introduced this macro was incorrect in some places. This patch fixes these. Thanks to Pierre-Louis Bossart for pointing this out.
* volume: Use a macro to check if a volume is validArun Raghavan2010-10-154-5/+5
| | | | | | | 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).
* dbusiface-core: Track sinks and sources using synchronous hooks instead of ↵Tanu Kaskinen2010-08-101-120/+130
| | | | | | | | | | | | | | | | asynchronous subscription events. Using the subscription events caused an assertion crash sometimes when a sink was removed and a new sink was created (i.e. card profile change) and a stream was moved from the removed sink to the new sink. The stream dbus object's subscription callback got a change event before the core dbus object's subscription callback got the sink remove/creation events. The stream's subscription callback then queried the core for the object path of the new sink, and since the core was not yet aware of the new sink, an assertion was hit in pa_dbusiface_device_get_path(). Now that the core uses synchronous hooks to keep the sink and source lists up to date, this particular problem can't occur anymore.
* dbus: Stop polling every 10 seconds to check whether all clients are still ↵Tanu Kaskinen2010-05-101-22/+28
| | | | | | alive. Instead, watch for org.freedesktop.DBus.Disconnected signals.
* dbus: Initialize properly the type field of new server structs.Tanu Kaskinen2010-05-101-0/+1
|
* dbus: Make it possible to allow remote connections from outside localhost.Tanu Kaskinen2010-05-101-2/+8
|
* Merge remote branch 'tanuk/master'Colin Guthrie2009-11-301-0/+2
|\
| * dbusiface-client: Fix the destructor (stop leaking stuff).Tanu Kaskinen2009-10-091-0/+2
| |
* | Rename all the signal parameters and variables to something more explicit.Diego Elio 'Flameeyes' Pettenò2009-11-218-268/+268
|/ | | | | Without this change, on FreeBSD you'll be bothered by tons of warnings about overshadowing signal(2).
* dbus-protocol: Implement argument type checking for normal methods.Tanu Kaskinen2009-08-311-1/+1
|
* dbus: Change IsMuted property names to Mute.Tanu Kaskinen2009-08-312-39/+39
|
* dbusiface-core: Add signals FallbackSinkUnset and FallbackSourceUnset.Tanu Kaskinen2009-08-311-0/+20
|
* dbus: Do message argument type checking early, centrally.Tanu Kaskinen2009-08-306-255/+141
|
* dbus: Finish the Client D-Bus interface.Tanu Kaskinen2009-08-262-18/+176
|
* dbusiface-stream: Only send stream event signals from the right D-Bus objects.Tanu Kaskinen2009-08-261-0/+6
|
* dbus: Make sure that subscription callbacks don't try to access removed objects.Tanu Kaskinen2009-08-264-72/+143
|
* dbus: Save one level of identation by returning early.Tanu Kaskinen2009-08-262-40/+41
|
* dbusiface-module: Implement the Module D-Bus interface.Tanu Kaskinen2009-08-243-7/+279
|
* dbusifaca-device: Adapt to the changed pa_sink_get/set_volume() interface.Tanu Kaskinen2009-08-191-3/+3
|
* dbusiface-sample: Implement the Sample D-Bus interface.Tanu Kaskinen2009-08-192-2/+468
|
* dbusiface-core: Assert that _add/remove_interface calls succeed.Tanu Kaskinen2009-08-191-2/+2
|
* dbusiface-core: Use the PA_IDXSET_FOREACH macro.Tanu Kaskinen2009-08-191-8/+8
|
* dbusiface-core: Split some overly long lines.Tanu Kaskinen2009-08-191-42/+118
|
* dbusiface-stream: Finish the Stream D-Bus interface.Tanu Kaskinen2009-08-171-80/+498
|
* dbusiface-device: Save one level of identation by returning early.Tanu Kaskinen2009-08-171-96/+99
|
* dbusiface-device: Fix argument reading in handle_suspend().Tanu Kaskinen2009-08-171-1/+7
|
* dbusiface-device: Use a single if-else section instead of ternary operator ↵Tanu Kaskinen2009-08-171-34/+43
| | | | overuse.
* dbusiface-device: Split some overly long lines.Tanu Kaskinen2009-08-171-7/+14
|
* dbusiface-core: Two new functions: pa_dbusiface_core_get_sink/source().Tanu Kaskinen2009-08-172-0/+34
|
* dbusiface-core: New function: pa_dbusiface_core_get_client_path().Tanu Kaskinen2009-08-172-0/+8
|
* dbusiface-stream: Implement about a half of the Stream D-Bus interface.Tanu Kaskinen2009-08-162-0/+386
|
* dbusiface-device: Free the copied proplist.Tanu Kaskinen2009-08-161-0/+1
|
* dbusiface-client: Fix indentation.Tanu Kaskinen2009-08-161-7/+7
|
* dbusiface-client: Fix the interface name.Tanu Kaskinen2009-08-152-3/+6
|
* dbusiface-client: Implement the properties of the Client D-Bus interface.Tanu Kaskinen2009-08-151-1/+278
| | | | Based on a patch from Vincent Filali-Ansary.
* dbusiface-core: Two new functions: ↵Tanu Kaskinen2009-08-152-0/+16
| | | | pa_dbusiface_core_get_playback/record_stream_path().
* dbusiface-device: Implement the Device and DevicePort D-Bus interfaces.Tanu Kaskinen2009-08-154-6/+1447
|
* dbusiface-core: New function: pa_dbusiface_core_get_card_path().Tanu Kaskinen2009-08-152-0/+8
|
* dbusiface-card: Fix the OwnerModule property type in handle_get_all().Tanu Kaskinen2009-08-151-1/+1
|
* dbusiface-card: Assert that the profiles list is empty if there's no activeTanu Kaskinen2009-08-151-0/+2
| | | | profile.
* dbusiface-card: Use the ++ operator like it's meant to be used.Tanu Kaskinen2009-08-151-4/+2
|