summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* device-manager: Fix the freeing of the datum on prefer/defer.Colin Guthrie2009-10-011-5/+4
| | | | Also fix a log typo
* device-manager: When a new device is encountered, initialise the priority ↵Colin Guthrie2009-10-011-4/+56
| | | | list to an appropriate value
* device-manager: Let subscribed clients know when something changes.Colin Guthrie2009-10-011-0/+16
|
* device-manager: Change the write function to a rename function.Colin Guthrie2009-10-011-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-10-011-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-10-011-40/+37
| | | | necessary
* device-manager: Provide a way for clients to enable/disable role-based ↵Colin Guthrie2009-10-011-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-10-011-4/+13
|
* stream-restore: Preventative initialistion to NULLColin Guthrie2009-10-011-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 Guthrie2009-10-011-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-10-011-1/+1
|
* device-manager: Add an untested protocol extension.Colin Guthrie2009-10-011-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-10-011-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.
* 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.
* position-event-sounds: apply volume factor after, not before resamplingv0.9.17Lennart Poettering2009-09-111-6/+6
|
* position-event-sounds: honour window position if set, position both ↵Lennart Poettering2009-09-111-11/+44
| | | | vertically and horizontally
* alsa: properly report suspension error codesLennart Poettering2009-09-112-18/+27
|
* alsa: properly convert sample buffer sizesLennart Poettering2009-09-111-3/+3
|
* alsa: disable tsched for software devices before we configure the buffer ↵Lennart Poettering2009-09-093-11/+4
| | | | metrics so that we don't accidently set a buffer size that is suitable for tsched where we don't use tsched
* alsa: when probing for profiles configure buffer/period sizes since some ↵Lennart Poettering2009-09-093-5/+22
| | | | broken drivers apparently need that
* alsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same ↵Lennart Poettering2009-09-092-2/+2
| | | | way we do it for initial opening
* alsa: rework buffer/period configurationLennart Poettering2009-09-094-130/+217
| | | | | | | | | | | | | - As discussed on alsa-devel it's probably better to initialize the buffer size first, followed by the period size. If that fails try the other way round. If that fails try to configure only buffer size. If that fails try to configure only period size. Finally, try to configure neither. - Don't require integral periods anymore. Both of these changes should help improving compatibility with various weirder sound devices, such as TV cards.
* udev: ratelimit device initializationsLennart Poettering2009-09-091-6/+41
|
* rtsp: document that rtsp_exec() needs fixing (llvm-clang-analyzer)Lennart Poettering2009-09-081-0/+2
|
* hal: check properly for failure of libhal_find_device_by_capability() ↵Lennart Poettering2009-09-081-1/+1
| | | | (llvm-clang-analyzer)
* blueooth: actually honour 'room' variable (llvm-clang-analyzer)Lennart Poettering2009-09-081-3/+6
|
* alsa-sink: init after_avail earlier (llvm-clang-analyzer)Lennart Poettering2009-09-081-1/+1
|
* llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixesLennart Poettering2009-09-088-20/+12
|
* always-sink: rename null sink created to 'dummy sink' and make it translatableLennart Poettering2009-09-041-2/+4
|
* null: make name of null sink translatableLennart Poettering2009-09-041-2/+3
|
* alsa: add more input sources to path setLennart Poettering2009-09-031-0/+8
|
* ladspa,remap: make description of sink follow movesLennart Poettering2009-09-012-6/+43
|
* alsa: by default increase watermarks only on real underruns, don't try to be ↵Lennart Poettering2009-09-012-2/+5
| | | | smart
* alsa: distuingish real underruns from left_to_play=0Lennart Poettering2009-09-012-2/+6
|
* suspend-on-idle: don't resume devices for corked streamsLennart Poettering2009-08-281-12/+18
|
* core: move 'flags' field into 'pa_sink_input_new_data' structure so that ↵Lennart Poettering2009-08-287-8/+13
| | | | hooks can access it