summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* core-util: replace remaining fixed size destination string functions by ↵Lennart Poettering2009-08-017-38/+119
| | | | | | | | | | _malloc() versions This helps portability to GNU/Hurd. Patch originally from Samuel Thibault but modified. Closes ticket #546
* core-util: rework pa_strlcpy() to not rely on strncpy()Lennart Poettering2009-08-011-2/+10
| | | | | strncpy() is very slow since it resets the entire destination buffer. Replace usage of strncpy by memcpy().
* pipe: replace PIPE_BUF macro pa pa_pipe_buf callLennart Poettering2009-08-014-4/+23
| | | | | | | 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
* client: documented that pa_stream_drain() may only have a single operation ↵Lennart Poettering2009-07-311-1/+3
| | | | | | active at a time Closes #552.
* client: fix documentation for threaded mainloopLennart Poettering2009-07-311-5/+9
| | | | Closes #553
* 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
|
* threaded-mainloop: loop around pa_cond_wait() invocation in ↵Lennart Poettering2009-07-302-4/+13
| | | | pa_threaded_mainloop_signal()
* client: minor modernizationsLennart Poettering2009-07-251-7/+4
|
* client: if a child we created was already reaped, assume that it was successfulLennart Poettering2009-07-251-3/+10
|
* interpol-test: allow configuration of latencyLennart Poettering2009-07-241-27/+54
|
* client: limit block size for zero-copy operations to mempool block sizeLennart Poettering2009-07-242-6/+18
|
* client: make volume struct constLennart Poettering2009-07-242-2/+2
|
* alsa: throw timing data away after device resumeLennart Poettering2009-07-245-25/+30
|
* autospawn: refuse autospawning if process disabled waitpid()Lennart Poettering2009-07-241-2/+15
|
* memblock: try to hit an assert earlier when ref counting doesn't workLennart Poettering2009-07-241-9/+14
|
* udev: explain what happened when inotify_add_watch() returned ENOSPC, rhbz ↵Lennart Poettering2009-07-241-1/+11
| | | | #513571
* alsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin ↵Lennart Poettering2009-07-242-11/+39
| | | | if we didn't call snd_pcm_avail immediately before
* pacat: use zero-copy write calls when playing audio fileLennart Poettering2009-07-231-61/+65
|
* client: include zerocopy write calls in map fileLennart Poettering2009-07-231-0/+2
|
* alsa: don't reset volume/mute when selecting pathLennart Poettering2009-07-231-2/+2
|
* daemon: replace colons by dash in per-machine directory names for compat ↵Lennart Poettering2009-07-231-2/+2
| | | | with weird filesystems
* build-sys: add a couple of stub MakefilesLennart Poettering2009-07-233-0/+3
|
* alsa: control 'Speaker' element as wellLennart Poettering2009-07-234-0/+22
|
* Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudioLennart Poettering2009-07-239-15/+69
|\ | | | | | | | | Conflicts: src/daemon/main.c
| * Merge commit 'flameeyes/osx'Lennart Poettering2009-07-233-3/+7
| |\
| | * Again make sure that the wait() definition is not shadowed.Diego Elio 'Flameeyes' Pettenò2009-07-171-2/+2
| | | | | | | | | | | | Rename the parameter in pa_asyncmsgq_get() to wait_op.