summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* core: make fixed latency dynamically changeableLennart Poettering2009-08-1510-52/+212
| | | | | | | | | | | | | 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-156-16/+16
|
* log: place more rate limit invocationsLennart Poettering2009-08-152-2/+5
|
* rescure-stream: handle failed moves as well as dying sinks/sourcesLennart Poettering2009-08-151-37/+136
|
* core: split of FAIL_ON_SUSPEND into KILL_ON_SUSPEND and NO_CREATE_ON_SUSPENDLennart Poettering2009-08-158-15/+18
|
* native: handle moving() callback with NULL destination properlyLennart Poettering2009-08-151-1/+7
|
* core: introduce pa_{sink_input|source_output}_fail_move()Lennart Poettering2009-08-156-12/+52
|
* module-stream-restore: don't fiddle with sinks/sources/streams that are not ↵Lennart Poettering2009-08-141-26/+86
| | | | fully set up yet
* volume: guarantee dB/linear conversion is reversibleLennart Poettering2009-08-142-1/+40
|
* protocol-native: log explicitly each time a client triggers a volume changeLennart Poettering2009-08-141-3/+12
|
* daemon: reset gids too, not just uidsLennart Poettering2009-08-141-0/+8
|
* resampler: round up when estimating input/output sizesLennart Poettering2009-08-141-2/+6
|
* thread-mq: never drop queued messages for the main loopLennart Poettering2009-08-141-0/+7
| | | | | | | | Previously we might have dropped messages from IO trheads to the main thread. This tuend out to be problematic since this cause SHM release messages to be lost. More visibly however this could cause playback freezing when moving streams between sinks and removing the old sink right away.
* asyncmsgq: add pa_asyncmsgq_flush() callLennart Poettering2009-08-142-4/+34
|
* memblockq: add pa_memblockq_get_maxrewind() APILennart Poettering2009-08-142-0/+9
|
* shm: bump shm size limit to 1GBLennart Poettering2009-08-141-1/+2
|
* pacmd: handle multi word commands in argv[] properlyLennart Poettering2009-08-141-1/+1
|
* core: add functions to query max_rewind/max_request values from streamsLennart Poettering2009-08-134-0/+33
|
* core: add assert macros for verifying calling contextLennart Poettering2009-08-139-31/+234
| | | | | | | This adds pa_assert_io_context() and pa_assert_ctl_context() in addition to a few related macros. When called they will fail when the current execution context is not IO resp. not control context. (aka 'thread' context vs. 'main' context)
* start-child: clean up child environment a bit betterLennart Poettering2009-08-121-7/+8
|
* pacmd: port pacmd from select() to poll() so that we notice writer side hangupsLennart Poettering2009-08-121-20/+40
|
* memblock: rate limit 'Pool full' messageLennart Poettering2009-08-121-1/+2
|
* context: document why we only do minimal cleanups before the autospawn exec()Lennart Poettering2009-08-121-1/+4
|
* daemon: reset scheduling priority on startup, tooLennart Poettering2009-08-121-0/+1
|
* core-util: move personality resetting into core-utilLennart Poettering2009-08-123-9/+16
|
* daemon: unconditionally clean up priviligesLennart Poettering2009-08-121-5/+2
|
* conf: invert all negative boolean configuration optionLennart Poettering2009-08-124-23/+30
|
* conf: add pa_config_parse_not_bool() for parsing inverse boolean ↵Lennart Poettering2009-08-122-0/+25
| | | | configuration options
* daemon: install D-Bus system policy file for PA system instancesLennart Poettering2009-08-122-0/+42
| | | | | | Original patch from 'mgrela'. http://pulseaudio.org/ticket/582
* 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-112-1/+96
| | | | | | | | | 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.
* Correctly deal with events in the past in calc_next_timeoutMaxim Levitsky2009-08-101-7/+6
| | | | | | | | pa_usec_t is unsigned, thus it will always be >= 0 This makes gstreamer pulse mixer work again This fixes a gstreamer mixer regression, when it can't control the volume, after few changes.
* mix-test: fix test for s24-32 samplesLennart Poettering2009-08-081-33/+41
|
* Split OSS support in output and wrapper.Diego Elio 'Flameeyes' Pettenò2009-08-084-13/+13
| | | | | | | 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-074-5/+14
| | | | | | | 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-076-29/+34
| | | | | Volume changes coming from the lower layers are most likely changes triggered by the user, so let's save them automatically.
* smoother: readd #ifdef protectionLennart Poettering2009-08-051-2/+2
|
* simple: check for == RUNNING instead of != DONE when waiting for operationsLennart Poettering2009-08-051-2/+2
|
* simple: split data/length validity checks into twoLennart Poettering2009-08-051-2/+4
|
* simple: call pa_context_disconnect() just to be sureLennart Poettering2009-08-051-1/+3
|
* simple: always loop around pa_threaded_mainloop_wait() to handle spurious ↵Lennart Poettering2009-08-051-11/+28
| | | | wakeups properly
* simple: use pa_xnew0 instead of manual reset to 0Lennart Poettering2009-08-051-5/+1
|
* simple: use PA_xxx_IS_GOOD for state checksLennart Poettering2009-08-051-2/+2
|
* alsa: properly treat ESTRPIPE as system suspendLennart Poettering2009-08-042-2/+5
|
* client: extend documentation on pa_operation_cancel() a bitLennart Poettering2009-08-031-1/+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>
* autospawn: if creating the lock file fails, pass error code cleanly back to ↵Lennart Poettering2009-08-011-21/+45
| | | | | | | | | main process This makes sure PA clients don't hang if $HOME is for some reason unsuitable for autospawn lockfiles. Closes #539