summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* protocol-native: log explicitly each time a client triggers a volume changeLennart Poettering2009-08-141-3/+12
|
* 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
|
* 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
|
* memblock: rate limit 'Pool full' messageLennart Poettering2009-08-121-1/+2
|
* core-util: move personality resetting into core-utilLennart Poettering2009-08-122-0/+15
|
* conf: add pa_config_parse_not_bool() for parsing inverse boolean ↵Lennart Poettering2009-08-122-0/+25
| | | | configuration options
* ladspa/remap: make sure we process all requested rewinds unconditionallyLennart Poettering2009-08-072-5/+8
| | | | | | | 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-074-25/+30
| | | | | 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
|
* 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-015-33/+91
| | | | | | | | | | _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-012-0/+19
| | | | | | | This should help portability to platforms that lack PIPE_BUF. Based on a patch from Samuel Thibault. See ticket #546
* alsa: throw timing data away after device resumeLennart Poettering2009-07-242-22/+21
|
* memblock: try to hit an assert earlier when ref counting doesn't workLennart Poettering2009-07-241-9/+14
|
* daemon: replace colons by dash in per-machine directory names for compat ↵Lennart Poettering2009-07-231-2/+2
| | | | with weird filesystems
* Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudioLennart Poettering2009-07-232-3/+3
|\ | | | | | | | | Conflicts: src/daemon/main.c
| * Merge commit 'flameeyes/osx'Lennart Poettering2009-07-231-2/+2
| |\
| | * 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.
| * | protocol-native: use the right samplerateWim Taymans2009-07-231-1/+1
| |/ | | | | | | | | The render_memblockq is expressed in the sample_spec of the sink, not of the particular stream before resampling.
* / memtrap: clarify that we are not interested in the return value of write()Lennart Poettering2009-07-201-1/+1
|/
* memtrap: properly lock access to memtrap changerLennart Poettering2009-07-011-0/+20
|
* memblock: rearrange locking orderLennart Poettering2009-07-011-17/+21
|
* native: don't hit assert when user uploads zero-sized sampleLennart Poettering2009-07-011-1/+3
|
* Add missing headers includes for FreeBSD.Diego Elio 'Flameeyes' Pettenò2009-06-291-0/+1
| | | | This removes the implicit declarations of send() and pthread_sigmask().
* Rename the flock variable to f_lock.Diego Elio 'Flameeyes' Pettenò2009-06-291-8/+8
| | | | flock() is a function on FreeBSD, and the variable shadowed its definition.
* Only declare saved_errno when it's going to be used (on Linux).Diego Elio 'Flameeyes' Pettenò2009-06-291-2/+1
|
* Rename the wait parameter to wait_op, to avoid shadowing wait().Diego Elio 'Flameeyes' Pettenò2009-06-292-13/+13
|
* Also alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD.Diego Elio 'Flameeyes' Pettenò2009-06-291-0/+5
|
* sndfile: fix build on BE archsv0.9.16-test1Lennart Poettering2009-06-231-1/+1
|
* rtclock: make use of constants when converting between nsec and usecLennart Poettering2009-06-231-3/+3
|
* rtclock: fix type of PA_TIMEVAL_RTCLOCKLennart Poettering2009-06-231-1/+1
|
* Merge most of elmarco/rtclock2Lennart Poettering2009-06-2218-101/+163
|\ | | | | | | Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043'
| * rtclock: fix issues found by LennartMarc-André Lureau2009-06-201-0/+3
| |
| * Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-2015-84/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
| * pulse: move pa_rtclock_now in pulsecommonMarc-André Lureau2009-06-205-12/+6
| |
| * perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'`Marc-André Lureau2009-06-195-7/+7
| |
* | core: get rid of rt sig/timer handling since modern Linux' ppooll() is ↵Lennart Poettering2009-06-194-345/+4
| | | | | | | | finally fixed for granularity
* | core: use rtkit to acquire high-priority schedulingLennart Poettering2009-06-192-107/+46
| |
* | core: ask RealtimeKit for RT schedulingLennart Poettering2009-06-193-18/+329
|/
* alsa,core: include mapping name in description stringsLennart Poettering2009-06-181-15/+20
|