summaryrefslogtreecommitdiffstats
path: root/src/modules/dbus/iface-core.c
Commit message (Collapse)AuthorAgeFilesLines
* dbus: Do not refcnt the core.Colin Guthrie2011-03-251-2/+1
| | | | | | | 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).
* volume: Use a macro to check if a volume is validArun Raghavan2010-10-151-1/+1
| | | | | | | 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.
* Rename all the signal parameters and variables to something more explicit.Diego Elio 'Flameeyes' Pettenò2009-11-211-136/+136
| | | | | Without this change, on FreeBSD you'll be bothered by tons of warnings about overshadowing signal(2).
* dbusiface-core: Add signals FallbackSinkUnset and FallbackSourceUnset.Tanu Kaskinen2009-08-311-0/+20
|
* dbus: Do message argument type checking early, centrally.Tanu Kaskinen2009-08-301-159/+88
|
* dbus: Make sure that subscription callbacks don't try to access removed objects.Tanu Kaskinen2009-08-261-71/+131
|
* dbusiface-module: Implement the Module D-Bus interface.Tanu Kaskinen2009-08-241-3/+3
|
* 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-core: Two new functions: pa_dbusiface_core_get_sink/source().Tanu Kaskinen2009-08-171-0/+28
|
* dbusiface-core: New function: pa_dbusiface_core_get_client_path().Tanu Kaskinen2009-08-171-0/+7
|
* dbusiface-core: Two new functions: ↵Tanu Kaskinen2009-08-151-0/+14
| | | | pa_dbusiface_core_get_playback/record_stream_path().
* dbusiface-core: New function: pa_dbusiface_core_get_card_path().Tanu Kaskinen2009-08-151-0/+7
|
* dbusiface-core: Add functions for getting various object paths.Tanu Kaskinen2009-08-091-0/+21
|
* dbusiface-core: Generate more informative error messages.Tanu Kaskinen2009-08-091-4/+4
|
* dbus: Take advantage of the PA_HASHMAP_FOREACH macro.Tanu Kaskinen2009-08-091-40/+24
|
* dbus: Three entangled changes:Tanu Kaskinen2009-08-091-48/+44
| | | | | | | | | | * 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.
* dbusiface-memstats: Implement the Memstats D-Bus interface.Tanu Kaskinen2009-08-041-0/+5
|
* dbus-protocol, dbusiface-core: Take a reference when storing the core pointer.Tanu Kaskinen2009-08-041-1/+2
|
* dbusiface-core: Make the interface string a public constant.Tanu Kaskinen2009-08-041-25/+24
|
* dbusiface-core: Don't die if we get a default sink/source change event ↵Tanu Kaskinen2009-08-011-8/+42
| | | | before the new default device is actually created.
* dbusiface-core: Send signals whenever extensions are registered and ↵Tanu Kaskinen2009-07-311-0/+47
| | | | unregistered.
* dbus/iface-core.c: Make sure D-Bus objects are created only once.Tanu Kaskinen2009-07-301-20/+28
|
* Bug fixing and minor cleanups.Tanu Kaskinen2009-07-271-51/+44
|
* Add the forgotten src/modules/dbus directory to git.Tanu Kaskinen2009-07-211-0/+1968