Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | device-manager: Fix typo in module loading script. | Colin Guthrie | 2009-10-02 | 1 | -1/+1 | |
| | | ||||||
| * | device-manager: Add some scripts that are only run under KDE to ↵ | Colin Guthrie | 2009-10-01 | 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-10-01 | 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-10-01 | 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-10-01 | 1 | -1/+3 | |
| | | ||||||
| * | device-manager: Add extra debug messages | Colin Guthrie | 2009-10-01 | 1 | -1/+19 | |
| | | ||||||
| * | device-manager: Change the prefer/defer options to a single 'reorder' command. | Colin Guthrie | 2009-10-01 | 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-10-01 | 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-10-01 | 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-10-01 | 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-10-01 | 1 | -15/+107 | |
| | | | | | | | | save it (and on startup) | |||||
| * | device-manager: Reroute streams when they change allowing the media.role to ↵ | Colin Guthrie | 2009-10-01 | 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-10-01 | 1 | -65/+80 | |
| | | | | | | | | stream | |||||
| * | device-manager: More sensible names for internal functions | Colin Guthrie | 2009-10-01 | 1 | -10/+8 | |
| | | ||||||
| * | device-manager: Reroute the streams on startup and update our cache on enable. | Colin Guthrie | 2009-10-01 | 1 | -10/+8 | |
| | | ||||||
| * | device-manager: Keep a cache of the highest priority devices for each role. | Colin Guthrie | 2009-10-01 | 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-10-01 | 1 | -3/+3 | |
| | | ||||||
| * | device-manager: Update exports | Colin Guthrie | 2009-10-01 | 1 | -1/+4 | |
| | | ||||||
| * | device-manager: Some efficiency and safety tweaks | Colin Guthrie | 2009-10-01 | 1 | -4/+9 | |
| | | ||||||
| * | device-manager: Allow the routing component to be turned on via a module ↵ | Colin Guthrie | 2009-10-01 | 1 | -12/+14 | |
| | | | | | | | | argument as well as via protocol extn. | |||||
| * | device-manager: Remove unused variables | Colin Guthrie | 2009-10-01 | 1 | -3/+0 | |
| | | ||||||
| * | device-manager: Set the most appropriate sink/source when new streams are ↵ | Colin Guthrie | 2009-10-01 | 1 | -16/+50 | |
| | | | | | | | | created | |||||
| * | device-manager: Add routing functions that are triggered when sinks/soruces ↵ | Colin Guthrie | 2009-10-01 | 1 | -61/+136 | |
| | | | | | | | | are added/removed. | |||||
| * | device-manager: Add a function to get a list of the highest priority device ↵ | Colin Guthrie | 2009-10-01 | 1 | -0/+81 | |
| | | | | | | | | indexes for each role. | |||||
| * | device-manager: Remove unneeded logic for checking for and (un)loading ↵ | Colin Guthrie | 2009-10-01 | 1 | -35/+0 | |
| | | | | | | | | module-stream-restore. We can co-exist | |||||
| * | device-manager: Rough framework (slots etc.) for handling routing. | Colin Guthrie | 2009-10-01 | 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-10-01 | 1 | -1/+2 | |
| | | ||||||
| * | device-manager: Fix the freeing of the datum on prefer/defer. | Colin Guthrie | 2009-10-01 | 1 | -5/+4 | |
| | | | | | | | | Also fix a log typo | |||||
| * | device-manager: When a new device is encountered, initialise the priority ↵ | Colin Guthrie | 2009-10-01 | 1 | -4/+56 | |
| | | | | | | | | list to an appropriate value | |||||
| * | device-manager: Let subscribed clients know when something changes. | Colin Guthrie | 2009-10-01 | 1 | -0/+16 | |
| | | ||||||
| * | device-manager: Change the write function to a rename function. | Colin Guthrie | 2009-10-01 | 3 | -75/+44 | |
| | | | | | | | | | | | | | | The structure itself will contain various bits of info so exposing this fully to the client is a bad idea. By keeping to a rename operation we keep what we do store abstracted from the clients. Also fix some doxy comments. | |||||
| * | device-manager: Provide a method for prefering/defering a device. | Colin Guthrie | 2009-10-01 | 3 | -0/+238 | |
| | | | | | | | | | | | | | | | | | | | | This allows clients to edit the priroity order. What is not yet in place is the initialisation of that priority list when new devices are detected or the cleaning (remove holes) when devices are removed. In order to keep the storage transparent I will likely remove the write functionality and replace it with a simple rename method. I also still need to expose the priority itself when reading the data. | |||||
| * | device-manager: Fix copy+paste code that looped over the tagstruct when not ↵ | Colin Guthrie | 2009-10-01 | 1 | -40/+37 | |
| | | | | | | | | necessary | |||||
| * | device-manager: Provide a way for clients to enable/disable role-based ↵ | Colin Guthrie | 2009-10-01 | 3 | -0/+95 | |
| | | | | | | | | | | | | | | device-priority routing. The routing logic itself does not yet exist, but the command currently will unload/load module-stream-restore as approriate. (module-stream-restore would conflict with the role-based priority-routing). | |||||
| * | device-manager: Update docs version -> 0.9.19 (predicted) | Colin Guthrie | 2009-10-01 | 1 | -10/+10 | |
| | | ||||||
| * | device-manager: Fix copy+paste leftover | Colin Guthrie | 2009-10-01 | 1 | -1/+1 | |
| | | ||||||
| * | device-manager: Only store and save details for non-monitor sources | Colin Guthrie | 2009-10-01 | 1 | -4/+13 | |
| | | ||||||
| * | stream-restore: Preventative initialistion to NULL | Colin Guthrie | 2009-10-01 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | There is not technically a bug here due to the early return and the knowledge that one of the if blocks will definitely be run, but this makes sure we don't call free on uninitialised data or do anything else suitibly daft. Also helps when you copy the code and change it slightly and don't realise you've left things open... | |||||
| * | device-restore: Fix the application of an entry to allow changing the name ↵ | Colin Guthrie | 2009-10-01 | 1 | -39/+31 | |
| | | | | | | | | | | | | of devices. This fixes a few bugs in the copy+pasted implementation of apply_entry()/get_name(). | |||||
| * | device-manager: Fix tagstruct description extraction (copy+paste blunder) | Colin Guthrie | 2009-10-01 | 1 | -1/+1 | |
| | | ||||||
| * | device-manager: Link native protocol library. | Colin Guthrie | 2009-10-01 | 1 | -1/+1 | |
| | | ||||||
| * | device-manager: Export device-manager extension functions | Colin Guthrie | 2009-10-01 | 1 | -0/+6 | |
| | | ||||||
| * | device-manager: Fix indentation | Colin Guthrie | 2009-10-01 | 1 | -4/+4 | |
| | | ||||||
| * | device-manager: Add an untested protocol extension. | Colin Guthrie | 2009-10-01 | 6 | -1/+732 | |
| | | | | | | | | This is effectively copied from the stream restore extension. | |||||
| * | device-manager: Add a new module to keep track of the names and descriptions ↵ | Colin Guthrie | 2009-10-01 | 2 | -2/+362 | |
| | | | | | | | | | | | | | | | | | | | | of various sinks. This will be used as the basis for a queryable system for past and present devices, initially for use in KDE. Currently all this module does is save lists of sinks/sources and their descriptions, so it needs to gain a protocol extension to make this queryable. As things stand it will save the device descriptions of all sinks and restore them if they differ from whats on record. | |||||
* | | Merge remote branch 'phish3/master' | Lennart Poettering | 2009-10-07 | 3 | -1/+2165 | |
|\ \ | ||||||
| * | | module-equalizer-sink: disable active profile name restoration as something ↵ | Jason Newton | 2009-10-02 | 1 | -7/+7 | |
| | | | | | | | | | | | | | | | | | | in pack/unpack is funky and I don't have time for a proper fix | |||||
| * | | module-equalizer-sink: *added client initiated sync support for filter state ↵ | Jason Newton | 2009-10-02 | 1 | -24/+35 | |
| | | | | | | | | | | | | *added note of possible unstable behavior with next-power-of-2 sample rate calculation | |||||
| * | | module-equalizer-sink: resyncing with head and fix invalid writes | Jason Newton | 2009-10-02 | 1 | -105/+108 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pa_log->debug for default equalizer notification * partially fixed infinite rewind bug * set max_request to window_size first iteration * swap order inside ROUND_UP calls * resync pa_sink_input_new changes * change pa_sample_clamp parameters to be correct to fix invalid writes * reenable proper reset logic + proper request size | |||||
| * | | module-equalizer-sink: resync with ladspa parent sink | Jason Newton | 2009-09-29 | 1 | -3/+5 | |
| | | |