Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dbus: Do not refcnt the core. | Colin Guthrie | 2011-03-25 | 1 | -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 valid | Arun Raghavan | 2010-10-15 | 1 | -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 Kaskinen | 2010-08-10 | 1 | -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-21 | 1 | -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 Kaskinen | 2009-08-31 | 1 | -0/+20 |
| | |||||
* | dbus: Do message argument type checking early, centrally. | Tanu Kaskinen | 2009-08-30 | 1 | -159/+88 |
| | |||||
* | dbus: Make sure that subscription callbacks don't try to access removed objects. | Tanu Kaskinen | 2009-08-26 | 1 | -71/+131 |
| | |||||
* | dbusiface-module: Implement the Module D-Bus interface. | Tanu Kaskinen | 2009-08-24 | 1 | -3/+3 |
| | |||||
* | dbusiface-core: Assert that _add/remove_interface calls succeed. | Tanu Kaskinen | 2009-08-19 | 1 | -2/+2 |
| | |||||
* | dbusiface-core: Use the PA_IDXSET_FOREACH macro. | Tanu Kaskinen | 2009-08-19 | 1 | -8/+8 |
| | |||||
* | dbusiface-core: Split some overly long lines. | Tanu Kaskinen | 2009-08-19 | 1 | -42/+118 |
| | |||||
* | dbusiface-core: Two new functions: pa_dbusiface_core_get_sink/source(). | Tanu Kaskinen | 2009-08-17 | 1 | -0/+28 |
| | |||||
* | dbusiface-core: New function: pa_dbusiface_core_get_client_path(). | Tanu Kaskinen | 2009-08-17 | 1 | -0/+7 |
| | |||||
* | dbusiface-core: Two new functions: ↵ | Tanu Kaskinen | 2009-08-15 | 1 | -0/+14 |
| | | | | pa_dbusiface_core_get_playback/record_stream_path(). | ||||
* | dbusiface-core: New function: pa_dbusiface_core_get_card_path(). | Tanu Kaskinen | 2009-08-15 | 1 | -0/+7 |
| | |||||
* | dbusiface-core: Add functions for getting various object paths. | Tanu Kaskinen | 2009-08-09 | 1 | -0/+21 |
| | |||||
* | dbusiface-core: Generate more informative error messages. | Tanu Kaskinen | 2009-08-09 | 1 | -4/+4 |
| | |||||
* | dbus: Take advantage of the PA_HASHMAP_FOREACH macro. | Tanu Kaskinen | 2009-08-09 | 1 | -40/+24 |
| | |||||
* | dbus: Three entangled changes: | Tanu Kaskinen | 2009-08-09 | 1 | -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 Kaskinen | 2009-08-04 | 1 | -0/+5 |
| | |||||
* | dbus-protocol, dbusiface-core: Take a reference when storing the core pointer. | Tanu Kaskinen | 2009-08-04 | 1 | -1/+2 |
| | |||||
* | dbusiface-core: Make the interface string a public constant. | Tanu Kaskinen | 2009-08-04 | 1 | -25/+24 |
| | |||||
* | dbusiface-core: Don't die if we get a default sink/source change event ↵ | Tanu Kaskinen | 2009-08-01 | 1 | -8/+42 |
| | | | | before the new default device is actually created. | ||||
* | dbusiface-core: Send signals whenever extensions are registered and ↵ | Tanu Kaskinen | 2009-07-31 | 1 | -0/+47 |
| | | | | unregistered. | ||||
* | dbus/iface-core.c: Make sure D-Bus objects are created only once. | Tanu Kaskinen | 2009-07-30 | 1 | -20/+28 |
| | |||||
* | Bug fixing and minor cleanups. | Tanu Kaskinen | 2009-07-27 | 1 | -51/+44 |
| | |||||
* | Add the forgotten src/modules/dbus directory to git. | Tanu Kaskinen | 2009-07-21 | 1 | -0/+1968 |