summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* alsa-sink: reduce the amount of smoother updatesWim Taymans2009-08-201-4/+22
| | | | | | | Exponentially increase the amount of time between smoother updates. We start with a 2ms interval and increase up to 200ms intervals. Smoother updates and the resulting linear regression take a fair amount of CPU so we want to reduce the amount of updates.
* lirc: replace manual code by pa_cvolume_{inc|dec}()Lennart Poettering2009-08-191-18/+4
|
* mmkbd: replace manual code by pa_cvolume_{inc|dec}()Lennart Poettering2009-08-191-22/+21
|
* sink: volume handling rework, new flat volume logicLennart Poettering2009-08-198-16/+16
| | | | | | | | | | | | | | | | | | | | | | | - We now implement a logic where the sink maintains two distinct volumes: the 'reference' volume which is shown to the users, and the 'real' volume, which is configured to the hardware. The latter is configured to the max of all streams. Volume changes on sinks are propagated back to the streams proportional to the reference volume change. Volume changes on sink inputs are forwarded to the sink by 'pushing' the volume if necessary. This renames the old 'virtual_volume' to 'real_volume'. The 'reference_volume' is now the one exposed to users. By this logic the sink volume visible to the user, will always be the "upper" boundary for everything that is played. Saved/restored stream volumes are measured relative to this boundary, the factor here is always < 1.0. - introduce accuracy for sink volumes, similar to the accuracy we already have for source volumes. - other cleanups.
* match: document how broken the module-match logic isLennart Poettering2009-08-191-0/+3
|
* udev: allow passing of ignore_dB= parameter to alsa modulesLennart Poettering2009-08-194-23/+49
|
* source: rework volume handlingLennart Poettering2009-08-193-19/+30
| | | | | | | | | | | | | - drop the 'virtual_' prefix from s->virtual_volume since we don't distuingish between reference and real volumes for sources - introduce an accuracy for source volumes: if the hardware can control the volume "close enough" don't necessarily adjust the rest in software unless it is beyond a certain threshold. This should save a little bit of CPU at the expensive of a bit of accuracy in volume handling. - other minor cleanups
* voltest: extend test to verify correctness of _multiply() and _divide()Lennart Poettering2009-08-192-47/+2
|
* dbus: never return DBUS_HANDLER_RESULT_HANDLED in filter callbacks, since ↵Lennart Poettering2009-08-192-5/+0
| | | | other callbacks might stell want to have the messages
* bluetooth: fix match syntaxLennart Poettering2009-08-171-2/+2
|
* bluetooth: make NameOwnerChanged filter matches more focussedLennart Poettering2009-08-171-2/+2
|
* reserver: update from upstream gitLennart Poettering2009-08-171-9/+18
|
* modules: add various checks to avoid selecting objects that are not linked ↵Lennart Poettering2009-08-163-8/+70
| | | | or in another unclear state
* bluetooth: move installation of mq's earlier to avoid context asserts to be ↵Lennart Poettering2009-08-161-2/+2
| | | | triggered
* bluetooth: ask first for Headset and AudioSink properties, followed by AudioLennart Poettering2009-08-151-4/+4
|
* bluetooth: recognize only those BT devices that implement both the Audio and ↵Lennart Poettering2009-08-151-3/+3
| | | | either AudioSink or Headset interfaces
* bluetooth: drop PA_BT_AUDIO_STATE_LAST since it is unused and we normally ↵Lennart Poettering2009-08-151-2/+1
| | | | call that _MAX anyway
* ladspa/remap: sync latency flags from master sink when moving between sinksLennart Poettering2009-08-152-0/+2
|
* bluetooth: fix typo with service_{read,write}_typeMarc-André Lureau2009-08-151-2/+4
|
* bluetooth: don't call pa_sink_render with 0 bytes requestMarc-André Lureau2009-08-151-7/+10
|
* combine: determine sample parameters of combined sink from underlying sinksMaarten Bosmans2009-08-151-0/+49
| | | | http://pulseaudio.org/ticket/521
* combine: warn when the latency of a stream gets too highLennart Poettering2009-08-151-0/+3
|
* combine: big reworkLennart Poettering2009-08-151-205/+266
|
* combine: drop adjust_timestamp variable because it is unusedLennart Poettering2009-08-151-12/+2
|
* ladspa: name sink after human readable plugin name, not the id stringLennart Poettering2009-08-151-2/+1
|
* module-ladspa: allow moving of sink, forward fixed latencyLennart Poettering2009-08-151-58/+78
|
* module-remap: allow moving of sink, forward fixed latencyLennart Poettering2009-08-151-58/+76
| | | | | | | | | | This is a bigger change reworking a number of things: - We now allow moving of the remap sink betwween backend sinks like any other stream. - We forward the fixed latency parameter of the underlying sinks the same way as the dynamic latency.
* ladspa: move LADSPA_Data size check to compile timeLennart Poettering2009-08-151-1/+1
|
* remap: unify argument order with other modulesLennart Poettering2009-08-151-2/+2
|
* core: make fixed latency dynamically changeableLennart Poettering2009-08-151-2/+2
| | | | | | | | | | | | | This of course makes the name 'fixed' a bit of a misnomer. However the definitions are now like this: fixed latency: the latency may change during runtime, but is solely controlled by the backend, the client has no influence. dynamic latency: the latency may change during runtime, influenced by the requests of the clients. i.e. fixed vs. dynamic is from the perspective of the client.
* core: move rtpoll to thread_info sub structureLennart Poettering2009-08-152-3/+3
|
* log: place more rate limit invocationsLennart Poettering2009-08-151-1/+2
|
* rescure-stream: handle failed moves as well as dying sinks/sourcesLennart Poettering2009-08-151-37/+136
|
* module-stream-restore: don't fiddle with sinks/sources/streams that are not ↵Lennart Poettering2009-08-141-26/+86
| | | | fully set up yet
* alsa: enable ext. amplifier by defaultLennart Poettering2009-08-121-2/+2
|
* alsa: adjust priority bonus of mappings that match the configured default ↵Lennart Poettering2009-08-121-2/+2
| | | | | | | | | | channel map We need to make sure that having both input and output weighs more for selecting the default profile than a channel map that matches the default channel map has. https://bugzilla.redhat.com/show_bug.cgi?id=496320
* volume-restore: forward module load return value of stream-restore back to ↵Lennart Poettering2009-08-111-3/+6
| | | | caller
* hal: replace subdevs= parameter by subdevices= parameterLennart Poettering2009-08-111-5/+5
| | | | | Abbreviating tsched like this was bad enough, so let's not add another option here.
* hal: add stub module that loads module-udev-detect instead of module-hal-detectLennart Poettering2009-08-111-0/+84
| | | | | | | | | This adds module-hal-detect-compat.c which when enabled will be compiled into a module module-hal-detect which simply loads module-udev-detect. The purpose of this is to allow easy upgrading without breaking default.pa. Distributions are recommended to enable this to easy upgrades from HAL versions of PA to udev versions.
* Split OSS support in output and wrapper.Diego Elio 'Flameeyes' Pettenò2009-08-082-10/+10
| | | | | | | Since Fedora does not enable OSS output support at all, but still uses padsp, and in Gentoo we could also make use of padsp without OSS output support, split the two things in two parameters, although they both check for sys/soundcard.h once.
* ladspa/remap: make sure we process all requested rewinds unconditionallyLennart Poettering2009-08-072-0/+6
| | | | | | | In some situations a rewind request travelling downstream might be optimized away on its way and an upstream rewind processing might never come back. Hence, call _process_rewind() before each _render()just to make sure we processed them all.
* core: save volume/mute changes coming from the hardware automaticallyLennart Poettering2009-08-072-4/+4
| | | | | Volume changes coming from the lower layers are most likely changes triggered by the user, so let's save them automatically.
* alsa: properly treat ESTRPIPE as system suspendLennart Poettering2009-08-042-2/+5
|
* Recover stream when it's suspended upon rewindLubomir Rintel2009-08-031-1/+7
| | | | | | | | | | | | | Error from snd_pcm_rewind() might mean we just woke up from suspend and didn't have a chance to try to recover the stream since we didn't write to it in between. Call try_recover() in such cases. Note that for this to work kernel must return ESTRPIPE instead of EBADF for rewind/forward attempts on suspended streams, so that snd_pcm_recover() can recognize it should snd_pcm_resume() the stream. This is not the case yet (2.6.31-rc5), patch is available. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
* pipe: replace PIPE_BUF macro pa pa_pipe_buf callLennart Poettering2009-08-012-4/+4
| | | | | | | This should help portability to platforms that lack PIPE_BUF. Based on a patch from Samuel Thibault. See ticket #546
* hal: add option to initialize all subdevices of an OSS deviceLennart Poettering2009-07-311-5/+20
| | | | Patch from 'cmt', closes ticket #544
* alsa: revert to first set number of periods, then set buffer sizeLennart Poettering2009-07-311-26/+29
| | | | | | | Apparently some ALSA drivers aren't happy with getting the buffer size configured first followed the period size. So swap the order again and document this for future reference so that we don't turn that around again.
* tunnel: don't assert on misaligned reads, closes #597 and rhbz #496310Lennart Poettering2009-07-311-4/+22
|
* alsa: throw timing data away after device resumeLennart Poettering2009-07-242-2/+8
|
* udev: explain what happened when inotify_add_watch() returned ENOSPC, rhbz ↵Lennart Poettering2009-07-241-1/+11
| | | | #513571