Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | device-manager: Change the write function to a rename function. | Colin Guthrie | 2009-11-11 | 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-11-11 | 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-11-11 | 1 | -40/+37 |
| | | | | necessary | ||||
* | device-manager: Provide a way for clients to enable/disable role-based ↵ | Colin Guthrie | 2009-11-11 | 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-11-11 | 1 | -10/+10 |
| | |||||
* | device-manager: Fix copy+paste leftover | Colin Guthrie | 2009-11-11 | 1 | -1/+1 |
| | |||||
* | device-manager: Only store and save details for non-monitor sources | Colin Guthrie | 2009-11-11 | 1 | -4/+13 |
| | |||||
* | device-restore: Fix the application of an entry to allow changing the name ↵ | Colin Guthrie | 2009-11-11 | 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-11-11 | 1 | -1/+1 |
| | |||||
* | device-manager: Link native protocol library. | Colin Guthrie | 2009-11-11 | 1 | -1/+1 |
| | |||||
* | device-manager: Export device-manager extension functions | Colin Guthrie | 2009-11-11 | 1 | -0/+6 |
| | |||||
* | device-manager: Fix indentation | Colin Guthrie | 2009-11-11 | 1 | -4/+4 |
| | |||||
* | device-manager: Add an untested protocol extension. | Colin Guthrie | 2009-11-11 | 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-11-11 | 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. | ||||
* | daemon: add missing tty_fd definition | Lennart Poettering | 2009-11-11 | 1 | -0/+1 |
| | |||||
* | core: make cpuid code compile cleanly with 32bit PIC0.9.19-stable | Lennart Poettering | 2009-11-11 | 1 | -2/+6 |
| | |||||
* | core: adjust volume only when there is actually a memory block | Lennart Poettering | 2009-11-11 | 1 | -5/+6 |
| | | | | | | Fixes an assert that is hit in somne niche cases: https://bugzilla.redhat.com/show_bug.cgi?id=533482 | ||||
* | protocol: use the right sample rate for sources | Wim Taymans | 2009-11-11 | 1 | -1/+1 |
| | | | | Use the correct sample rate for reporting about the timing. | ||||
* | jack: never try to autoconnect to MIDI ports | Lennart Poettering | 2009-11-11 | 2 | -2/+2 |
| | | | | | | Original patch supplied by 'adi' http://pulseaudio.org/ticket/669 | ||||
* | alsa: disable timer-based scheduling inside a VM | Lennart Poettering | 2009-11-11 | 4 | -8/+28 |
| | | | | | | | | | | | | | | | In virtual machines sound card clocks and OS scheduling tend to become unreliable, adding various 'uneven' latencies. The adaptive algorithm that handles drop-outs does not handle it this well: in contrast to drop-outs on real machines that are evenly distributed, small and can easily be encountered via the adpative algorithms, drop-outs in VMs tend to happen abruptly, and massively, which is not easy to counter. This patch simply disables timer based scheduling in VMs reverting to classic IO based scheduling. This should help make PA perform better in VMs. https://bugzilla.redhat.com/show_bug.cgi?id=532775 | ||||
* | daemon: during startup say whether we run in a VM | Lennart Poettering | 2009-11-11 | 1 | -1/+2 |
| | |||||
* | core-util: add call to detect if we are called from within a VM | Lennart Poettering | 2009-11-11 | 2 | -0/+90 |
| | |||||
* | alsa: introduce more standard path names | Lennart Poettering | 2009-11-11 | 1 | -10/+14 |
| | |||||
* | alsa: cover 'Analog Output' control | Lennart Poettering | 2009-11-11 | 1 | -0/+17 |
| | | | | http://pulseaudio.org/ticket/702 | ||||
* | alsa: create a seperate mixer path for Speaker elements | Lennart Poettering | 2009-11-11 | 4 | -13/+107 |
| | | | | | | | On some cards line-out is independant of Sepaker and it is a good idea to cover that so that they can independantly be activated. https://bugzilla.redhat.com/show_bug.cgi?id=520884 | ||||
* | alsa: leave other headphone control enabled if possible | Lennart Poettering | 2009-11-11 | 5 | -4/+22 |
| | |||||
* | alsa: lower priority for Headphone2 path | Lennart Poettering | 2009-11-11 | 1 | -1/+1 |
| | |||||
* | alsa: cover Input Source:AUX IN | Lennart Poettering | 2009-11-11 | 1 | -0/+4 |
| | | | | | | As seen on some HDA chips: https://bugzilla.redhat.com/attachment.cgi?id=359804 | ||||
* | alsa: cover Headphone2 mixer element | Lennart Poettering | 2009-11-11 | 4 | -2/+86 |
| | | | | | | As seen on some drivers: https://bugzilla.redhat.com/show_bug.cgi?id=498612 | ||||
* | alsa: cover 'Digital Input Source' element | Lennart Poettering | 2009-11-11 | 1 | -0/+14 |
| | | | | | | As used by some HDA devices: https://bugzilla.redhat.com/attachment.cgi?id=365290 | ||||
* | alsa: cover Mic Jack Mode element | Lennart Poettering | 2009-11-11 | 1 | -1/+12 |
| | | | | | | As used by some HDA chips: https://bugzilla.redhat.com/attachment.cgi?id=366816 | ||||
* | bluetooth: do not hand out access to devices that are not fully configured yet | Lennart Poettering | 2009-11-11 | 1 | -2/+8 |
| | |||||
* | daemon: realpath segfault fix | David Yoder | 2009-11-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Lennart, Apparently I was debugging this at the same time as you. I can't figure out why my Fedora 11 install with glibc-2.10 has a glibc realpath that doesn't match the gnu documentation and returns null. But it does. Your commit aa8ce5bb9b159abb2ffb0f43996340566fc2e9c6 almost fixed my problem, but it needs a tweak. Thanks, David Yoder | ||||
* | sink: simplify silence checks | Wim Taymans | 2009-11-11 | 1 | -12/+10 |
| | |||||
* | daemon: don't crash if pa_realpath() fails | Lennart Poettering | 2009-11-11 | 1 | -10/+13 |
| |