| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
the time).
Also compare the entries fully before saving.
|
| |
| |
| |
| |
| | |
This also ensures we let clients know whenver a sink changes in some capacity.
Also correct some debug code.
|
| |
| |
| |
| | |
Also leave space for 'icon' and 'available' details too, althought currently this info is dummy.
|
| |
| |
| |
| | |
save it (and on startup)
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
stream
|
| | |
|
| | |
|
| |
| |
| |
| | |
Rather than querying our database on every new stream, we keep a cache and only update it when a sink/source is added/removed.
|
| | |
|
| | |
|
| |
| |
| |
| | |
argument as well as via protocol extn.
|
| | |
|
| |
| |
| |
| | |
created
|
| |
| |
| |
| | |
are added/removed.
|
| |
| |
| |
| | |
indexes for each role.
|
| |
| |
| |
| | |
module-stream-restore. We can co-exist
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
Also fix a log typo
|
| |
| |
| |
| | |
list to an appropriate value
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
necessary
|
| |
| |
| |
| |
| |
| |
| | |
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).
|
| | |
|
| |
| |
| |
| |
| |
| | |
of devices.
This fixes a few bugs in the copy+pasted implementation of apply_entry()/get_name().
|
| | |
|
| |
| |
| |
| | |
This is effectively copied from the stream restore extension.
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Original patch supplied by 'adi'
http://pulseaudio.org/ticket/669
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
http://pulseaudio.org/ticket/702
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
As seen on some HDA chips:
https://bugzilla.redhat.com/attachment.cgi?id=359804
|
|
|
|
|
|
| |
As seen on some drivers:
https://bugzilla.redhat.com/show_bug.cgi?id=498612
|
|
|
|
|
|
| |
As used by some HDA devices:
https://bugzilla.redhat.com/attachment.cgi?id=365290
|
|
|
|
|
|
| |
As used by some HDA chips:
https://bugzilla.redhat.com/attachment.cgi?id=366816
|
| |
|
| |
|
| |
|
|
|
|
|
| |
I checked the source code, and latency_msec is missing from the list
of valid module arguments. Attaching a patch to add it.
|