Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dbus: remove filter functions only if they were actually set before | Lennart Poettering | 2010-01-08 | 7 | -34/+34 |
| | | | | | | | This fixes an assert when destructing modules that have not been fully initialized. https://bugzilla.redhat.com/show_bug.cgi?id=548525 | ||||
* | bump sonamev0.9.21 | Lennart Poettering | 2009-11-23 | 1 | -1/+1 |
| | |||||
* | alsa: fix minor sampling rate deviations before adjusting the buffer size | Lennart Poettering | 2009-11-23 | 1 | -7/+9 |
| | |||||
* | alsa: fix log output when the audio device refuses to give us again the same ↵ | Lennart Poettering | 2009-11-23 | 2 | -2/+2 |
| | | | | period settings we had before | ||||
* | pulse: ask for timing updates both *before* and *after* triggering a stream ↵ | Lennart Poettering | 2009-11-23 | 1 | -2/+36 |
| | | | | state change so that in the STARTED/UNDERFLOW callbacks we accurate transport latency information | ||||
* | pulse: delay smoother update only when unpausing, not when pausing, since we ↵ | Lennart Poettering | 2009-11-23 | 1 | -17/+19 |
| | | | | don't want the timer to advance when we are supposedly already paused | ||||
* | pulse: try to fix inaccuracy with uncork timing for streams that are created ↵ | Lennart Poettering | 2009-11-23 | 1 | -1/+16 |
| | | | | in corked state | ||||
* | daemon: complain if user passes too many arguments | Lennart Poettering | 2009-11-23 | 1 | -0/+37 |
| | |||||
* | Merge branch '0.9.20-stable' into stable-queue | Colin Guthrie | 2009-11-20 | 2 | -50/+61 |
|\ | | | | | | | | | Conflicts: src/Makefile.am | ||||
| * | rygel: fix itemCount property for sources0.9.20-stable | Lennart Poettering | 2009-11-18 | 1 | -11/+34 |
| | | | | | | | | Fixes http://pulseaudio.org/ticket/721 | ||||
| * | build-sys: Fix missing trailing slash in 14eaf2 | Colin Guthrie | 2009-11-16 | 1 | -1/+1 |
| | | |||||
| * | build-sys: Make sure all alsa path config files are installed | Sjoerd Simons | 2009-11-16 | 1 | -37/+25 |
| | | | | | | | | | | While all alsa path configuration files were in EXTRA_DIST not all of them were in in alsapaths_DATA. Fixed by only defining the list in one place | ||||
* | | device-manager: Update docs version -> 0.9.20 | Colin Guthrie | 2009-11-11 | 1 | -12/+12 |
| | | | | | | | | Third time is a charm... maybe. | ||||
* | | device-manager: Update docs version -> 0.9.20 | Colin Guthrie | 2009-11-11 | 1 | -12/+12 |
| | | |||||
* | | device-manager: Fix compiler warning. | Colin Guthrie | 2009-11-11 | 1 | -4/+4 |
| | | | | | | | | Do not use a variable called 'index' as it clashes with string.h | ||||
* | | device-manager: Rather than flagging the device as available, just include ↵ | Colin Guthrie | 2009-11-11 | 3 | -9/+6 |
| | | | | | | | | the sink/source index with PA_INVALID_INDEX meaning unavailable | ||||
* | | device-manager: Play nice with module-stream-restore. | Colin Guthrie | 2009-11-11 | 1 | -37/+47 |
| | | | | | | | | | | | | If m-s-r sets the device we let it do so. Otherwise we handle the routing. We run before module-intended-roles as the priority list will likely be configured appropriately to do the same job, albeit with manual setup. | ||||
* | | device-manager: Make use of PA_IDXSET_FOREACH when applying entries. | Colin Guthrie | 2009-11-11 | 1 | -12/+12 |
| | | |||||
* | | device-manager: Keep track as to whether or not the user specifically ↵ | Colin Guthrie | 2009-11-11 | 1 | -9/+40 |
| | | | | | | | | | | | | | | | | | | | | | | renamed the device. If the user has not (via our protocol extension) renamed a device, but it happens to now have a different name (e.g. module-combine automatically updating the description for us or udev-db getting better etc.) then make sure we update our cache with this updated version. If the user has set a name, enforce it's use, even if the description is updated by some other means (e.g. the user manually editing the proplist or another module doing it for them). | ||||
* | | device-manager: No need to check the version after calling read_entry() | Colin Guthrie | 2009-11-11 | 1 | -4/+4 |
| | | |||||
* | | device-manager: Fix typo in module loading script. | Colin Guthrie | 2009-11-11 | 1 | -1/+1 |
| | | |||||
* | | device-manager: Add some scripts that are only run under KDE to ↵ | Colin Guthrie | 2009-11-11 | 3 | -3/+52 |
| | | | | | | | | load/initialise module-device-manager with routing turned on. | ||||
* | | device-manager: Misc fixes to co-exist with other stream management/routing ↵ | Colin Guthrie | 2009-11-11 | 1 | -40/+30 |
| | | | | | | | | | | | | | | modules. * Do not read or set the save_sink/save_source flags. This seems to be for module-stream-restore only... * Even if a sink is already set by an earlier module, still move it to the sink we dictate. | ||||
* | | device-manager: Misc fixes. | Colin Guthrie | 2009-11-11 | 1 | -37/+47 |
| | | | | | | | | | | | | | | | | | | | | * Fix a s/sink/source/ copy paste issue when dumping the database. * Only show priority list when routing is enabled (as the list is not updated if not) * Fix a memory access issue when finding the highest priority sinks/sources * key name->device name efficiency fix. * Silence noisy debug on reorder - it seems to work :) * Reroute after reordering. * Initialise preferred lists to PA_INVALID_INDEX | ||||
* | | device-manager: Fix the writing of the database when priority doesn't change. | Colin Guthrie | 2009-11-11 | 1 | -1/+3 |
| | | |||||
* | | device-manager: Add extra debug messages | Colin Guthrie | 2009-11-11 | 1 | -1/+19 |
| | | |||||
* | | device-manager: Change the prefer/defer options to a single 'reorder' command. | Colin Guthrie | 2009-11-11 | 4 | -136/+154 |
| | | | | | | | | | | | | We put in the devices from the wire into a hashmap and then add all like type device in the database and then order them based on priority (with the ones specified on the wire always being in that order at the top of the list. | ||||
* | | device-manager: Don't notify clients on every subscription (it happens all ↵ | Colin Guthrie | 2009-11-11 | 1 | -6/+18 |
| | | | | | | | | | | | | the time). Also compare the entries fully before saving. | ||||
* | | device-manager: Save icon and report current availability over protocol. | Colin Guthrie | 2009-11-11 | 1 | -17/+53 |
| | | | | | | | | | | This also ensures we let clients know whenver a sink changes in some capacity. Also correct some debug code. | ||||
* | | device-manager: Expose the priority lists in the protocol extension. | Colin Guthrie | 2009-11-11 | 3 | -38/+86 |
| | | | | | | | | Also leave space for 'icon' and 'available' details too, althought currently this info is dummy. | ||||
* | | device-manager: Add a function to dump the database which we do whenever we ↵ | Colin Guthrie | 2009-11-11 | 1 | -15/+107 |
| | | | | | | | | save it (and on startup) | ||||
* | | device-manager: Reroute streams when they change allowing the media.role to ↵ | Colin Guthrie | 2009-11-11 | 1 | -212/+243 |
| | | | | | | | | | | | | | | be updated mid-stream. We do not handle the _EVENT_NEW subscription here as the PA_CORE_HOOK_SINK_INPUT_NEW/PA_CORE_HOOK_SOURCE_OUTPUT_NEW hook should handle the initial routing. | ||||
* | | device-manager: Refactor the routing method to allow the routing of a single ↵ | Colin Guthrie | 2009-11-11 | 1 | -65/+80 |
| | | | | | | | | stream | ||||
* | | device-manager: More sensible names for internal functions | Colin Guthrie | 2009-11-11 | 1 | -10/+8 |
| | | |||||
* | | device-manager: Reroute the streams on startup and update our cache on enable. | Colin Guthrie | 2009-11-11 | 1 | -10/+8 |
| | | |||||
* | | device-manager: Keep a cache of the highest priority devices for each role. | Colin Guthrie | 2009-11-11 | 1 | -47/+52 |
| | | | | | | | | Rather than querying our database on every new stream, we keep a cache and only update it when a sink/source is added/removed. | ||||
* | | device-manager: Fix the database write mode | Colin Guthrie | 2009-11-11 | 1 | -3/+3 |
| | | |||||
* | | device-manager: Update exports | Colin Guthrie | 2009-11-11 | 1 | -1/+4 |
| | | |||||
* | | device-manager: Some efficiency and safety tweaks | Colin Guthrie | 2009-11-11 | 1 | -4/+9 |
| | | |||||
* | | device-manager: Allow the routing component to be turned on via a module ↵ | Colin Guthrie | 2009-11-11 | 1 | -12/+14 |
| | | | | | | | | argument as well as via protocol extn. | ||||
* | | device-manager: Remove unused variables | Colin Guthrie | 2009-11-11 | 1 | -3/+0 |
| | | |||||
* | | device-manager: Set the most appropriate sink/source when new streams are ↵ | Colin Guthrie | 2009-11-11 | 1 | -16/+50 |
| | | | | | | | | created | ||||
* | | device-manager: Add routing functions that are triggered when sinks/soruces ↵ | Colin Guthrie | 2009-11-11 | 1 | -61/+136 |
| | | | | | | | | are added/removed. | ||||
* | | device-manager: Add a function to get a list of the highest priority device ↵ | Colin Guthrie | 2009-11-11 | 1 | -0/+81 |
| | | | | | | | | indexes for each role. | ||||
* | | device-manager: Remove unneeded logic for checking for and (un)loading ↵ | Colin Guthrie | 2009-11-11 | 1 | -35/+0 |
| | | | | | | | | module-stream-restore. We can co-exist | ||||
* | | device-manager: Rough framework (slots etc.) for handling routing. | Colin Guthrie | 2009-11-11 | 1 | -5/+201 |
| | | | | | | | | | | | | | | | | This is incomplete, it just adds the slots in question and assigns noops to them. Some minor cleanup of types. Due to the priority of the hooks, it seems we can actually coexist with module-stream restore so the code to detect and unload it will be removed shortly. | ||||
* | | device-manager: debug and comments | Colin Guthrie | 2009-11-11 | 1 | -1/+2 |
| | | |||||
* | | device-manager: Fix the freeing of the datum on prefer/defer. | Colin Guthrie | 2009-11-11 | 1 | -5/+4 |
| | | | | | | | | Also fix a log typo | ||||
* | | device-manager: When a new device is encountered, initialise the priority ↵ | Colin Guthrie | 2009-11-11 | 1 | -4/+56 |
| | | | | | | | | list to an appropriate value | ||||
* | | device-manager: Let subscribed clients know when something changes. | Colin Guthrie | 2009-11-11 | 1 | -0/+16 |
| | |