summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* device-manager: Remove unused variablesColin Guthrie2009-11-111-3/+0
|
* device-manager: Set the most appropriate sink/source when new streams are ↵Colin Guthrie2009-11-111-16/+50
| | | | created
* device-manager: Add routing functions that are triggered when sinks/soruces ↵Colin Guthrie2009-11-111-61/+136
| | | | are added/removed.
* device-manager: Add a function to get a list of the highest priority device ↵Colin Guthrie2009-11-111-0/+81
| | | | indexes for each role.
* device-manager: Remove unneeded logic for checking for and (un)loading ↵Colin Guthrie2009-11-111-35/+0
| | | | module-stream-restore. We can co-exist
* device-manager: Rough framework (slots etc.) for handling routing.Colin Guthrie2009-11-111-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 commentsColin Guthrie2009-11-111-1/+2
|
* device-manager: Fix the freeing of the datum on prefer/defer.Colin Guthrie2009-11-111-5/+4
| | | | Also fix a log typo
* device-manager: When a new device is encountered, initialise the priority ↵Colin Guthrie2009-11-111-4/+56
| | | | list to an appropriate value
* device-manager: Let subscribed clients know when something changes.Colin Guthrie2009-11-111-0/+16
|
* device-manager: Change the write function to a rename function.Colin Guthrie2009-11-111-35/+28
| | | | | | | 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 Guthrie2009-11-111-0/+148
| | | | | | | | | | 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 Guthrie2009-11-111-40/+37
| | | | necessary
* device-manager: Provide a way for clients to enable/disable role-based ↵Colin Guthrie2009-11-111-0/+56
| | | | | | | 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: Only store and save details for non-monitor sourcesColin Guthrie2009-11-111-4/+13
|
* device-restore: Fix the application of an entry to allow changing the name ↵Colin Guthrie2009-11-111-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 Guthrie2009-11-111-1/+1
|
* device-manager: Add an untested protocol extension.Colin Guthrie2009-11-111-1/+255
| | | | This is effectively copied from the stream restore extension.
* device-manager: Add a new module to keep track of the names and descriptions ↵Colin Guthrie2009-11-111-0/+352
| | | | | | | | | | 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.
* jack: never try to autoconnect to MIDI portsLennart Poettering2009-11-112-2/+2
| | | | | | Original patch supplied by 'adi' http://pulseaudio.org/ticket/669
* alsa: disable timer-based scheduling inside a VMLennart Poettering2009-11-114-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
* alsa: introduce more standard path namesLennart Poettering2009-11-111-10/+14
|
* alsa: cover 'Analog Output' controlLennart Poettering2009-11-111-0/+17
| | | | http://pulseaudio.org/ticket/702
* alsa: create a seperate mixer path for Speaker elementsLennart Poettering2009-11-113-13/+106
| | | | | | | 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 possibleLennart Poettering2009-11-115-4/+22
|
* alsa: lower priority for Headphone2 pathLennart Poettering2009-11-111-1/+1
|
* alsa: cover Input Source:AUX INLennart Poettering2009-11-111-0/+4
| | | | | | As seen on some HDA chips: https://bugzilla.redhat.com/attachment.cgi?id=359804
* alsa: cover Headphone2 mixer elementLennart Poettering2009-11-113-2/+85
| | | | | | As seen on some drivers: https://bugzilla.redhat.com/show_bug.cgi?id=498612
* alsa: cover 'Digital Input Source' elementLennart Poettering2009-11-111-0/+14
| | | | | | As used by some HDA devices: https://bugzilla.redhat.com/attachment.cgi?id=365290
* alsa: cover Mic Jack Mode elementLennart Poettering2009-11-111-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 yetLennart Poettering2009-11-111-2/+8
|
* position-event-sounds: never position test sounds in spaceLennart Poettering2009-11-111-1/+17
|
* alsa: disable period event only with tsched=1Lennart Poettering2009-11-114-5/+6
|
* loopback: Setting latency of module-loopbackTor-Björn Claesson2009-11-111-1/+1
| | | | | I checked the source code, and latency_msec is missing from the list of valid module arguments. Attaching a patch to add it.
* bluetooth: don't set auto_connect flag when discovering bt devicesLennart Poettering2009-11-112-3/+12
|
* reserve: downgrade reserve logic messages, so that reusing pa in two ↵Lennart Poettering2009-09-281-5/+5
| | | | sessions does not create spew in syslog
* tunnel: fix parsing of source info from newer serversColin Guthrie2009-09-201-2/+29
|
* tunnel: fix parsing of sink info from newer serversEmil Renner Berthing2009-09-201-0/+27
|
* stream-restore: Comment fixColin Guthrie2009-09-201-1/+1
|
* alsa: make build gcc clean on 32bitLennart Poettering2009-09-201-1/+1
|
* gconf: run the wrapper script when running gconf-helper from build treeLennart Poettering2009-09-181-1/+1
|
* alsa: Give all ports a human name to allow UI tools to present the choice to ↵Colin Guthrie2009-09-181-3/+3
| | | | users.
* rtp: Remove 'fix me' comment after it was actually fixed in [56b6e1]Colin Guthrie2009-09-181-2/+0
| | | | That's what you get for applying your stash without fully checking if anything else was committed in the mean time :p
* alsa: fix Surround mixer element nameLennart Poettering2009-09-183-3/+3
| | | | | | s/Sourround/Surround/ Spotted by Colin Guthrie
* rtp: Factor out direct io writing and use ioline instead.Colin Guthrie2009-09-181-16/+6
| | | | | This is how things should have worked orinally, but I obviously misunderstood things a bit. This seems to prevent the random hangups that were happening previously :)
* raop: Use pa_module_unload_request_by_index as per module-zeroconf-discoverColin Guthrie2009-09-181-2/+2
|
* cli: properly destruct cli objectLennart Poettering2009-09-171-2/+2
|
* cli: don't accidentaly set O_NDELAY on stderrLennart Poettering2009-09-171-3/+21
| | | | | | | | | | | | | | Loading module-cli could have the effect of setting O_NDELAY on stderr, because it was just a dup'ed fd of stdin which module-cli sets O_NDELAY for and which flag is shared between all dupes. Instead of using stdin/stdout directly we now open a new file descriptor for the controlling terminal, which is equally useful as stdin/stdout but gives a new file that does not share O_NDELAY with stdin/stdout. This solves a problem where when running pulseaudio -C resulted in log output being truncated since stdio does not really handle O_NDELAY that well in on its fds.
* position-event-sounds: don't warn that loud about vpos/hpos out of rangeLennart Poettering2009-09-171-2/+3
|
* alsa: correct assumptions about channels an element lacksVladimir Kokarev2009-09-171-10/+2
| | | | | | | If an element does not control some channels assume they are 0dB in comparison to the other elements, i.e. do not influence the volume at all. Previously we were assuming they were as high as the highest of the channels we do control.