summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
Commit message (Collapse)AuthorAgeFilesLines
* add new function pa_iochannel_socket_is_local()Lennart Poettering2008-06-162-0/+15
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2534 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make use of the new pa_socket_address_is_local() functionLennart Poettering2008-06-161-16/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2533 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new functions pa_socket_is_local() and pa_socket_address_is_local()Lennart Poettering2008-06-162-1/+44
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2532 fefdeb5f-60dc-0310-8127-8f9354f1896f
* minor modernizations, increase unload timeout to 60sLennart Poettering2008-06-141-5/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2530 fefdeb5f-60dc-0310-8127-8f9354f1896f
* avoid division by zero when informing user about unloaded lazy samples in ↵Lennart Poettering2008-06-141-2/+5
| | | | | | the sample cache git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2529 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a bad memory access pulsecore/client.cLennart Poettering2008-06-1310-30/+174
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2527 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rearrange thingsLennart Poettering2008-06-131-5/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2526 fefdeb5f-60dc-0310-8127-8f9354f1896f
* consider passing the same argument twice to a module an error, also consider ↵Lennart Poettering2008-06-131-1/+17
| | | | | | a variable name without following = an error git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2525 fefdeb5f-60dc-0310-8127-8f9354f1896f
* sometimes a simple memset() is much fasterLennart Poettering2008-06-131-2/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2524 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge Colin Guthrie's module-always-sink module, and add priorization to the ↵Lennart Poettering2008-06-112-20/+31
| | | | | | hook subsystem while doing so. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2516 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new switch --start to the PA binary which allows starting PA if it is ↵Lennart Poettering2008-06-111-0/+1
| | | | | | not running yet. In contrast to normal startup an already running PA will not be considered an error. Also, take the autospawn lock so we can guarantee that after this call returns PA is ralive and running git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2513 fefdeb5f-60dc-0310-8127-8f9354f1896f
* don't exit when the XSM signals us a session exit. instead just unload all ↵Lennart Poettering2008-06-112-10/+41
| | | | | | X11 modules git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2512 fefdeb5f-60dc-0310-8127-8f9354f1896f
* move pa_core_check_quit() a bit laterLennart Poettering2008-06-111-2/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2511 fefdeb5f-60dc-0310-8127-8f9354f1896f
* reformat thingsLennart Poettering2008-06-111-1/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2510 fefdeb5f-60dc-0310-8127-8f9354f1896f
* install auto unload time event only when we have at least one auto unload moduleLennart Poettering2008-06-111-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2509 fefdeb5f-60dc-0310-8127-8f9354f1896f
* replace pa_atof() by pa_atod() because floats are lameLennart Poettering2008-06-112-10/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2506 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a compiler warning on ARM due to missing cast, patch from Jyri SarhaLennart Poettering2008-06-031-5/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2493 fefdeb5f-60dc-0310-8127-8f9354f1896f
* allow on-the-fly deleting of hashmap entries wile we iterate through themLennart Poettering2008-05-292-13/+26
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2491 fefdeb5f-60dc-0310-8127-8f9354f1896f
* never hand out more data from a sink input than requested. Otherwise the ↵Lennart Poettering2008-05-273-7/+8
| | | | | | resampler might run for too long and we get a heavy delay/underrun git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2490 fefdeb5f-60dc-0310-8127-8f9354f1896f
* always expect name field in upload datagramLennart Poettering2008-05-271-4/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2489 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix esound proto to not crashLennart Poettering2008-05-271-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2488 fefdeb5f-60dc-0310-8127-8f9354f1896f
* big mumbo jumo of interleaved patches.Lennart Poettering2008-05-215-30/+77
| | | | | | | | | * Use seperate "state" and "config" paths * Pass the fact that we are in system mode via an env var $PULSE_SYSTEM instead of as var in pa_core * Properly check proc name when checking PID files. Don't check exename, because we cannot read that for other uids git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2480 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add O_NOCTTYLennart Poettering2008-05-211-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2471 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new functions pa_state_path()/pa_get_state_dir(), change return value of ↵Lennart Poettering2008-05-212-13/+61
| | | | | | pa_startswith()/pa_endswith() pa_bool, add pa_in_system_mode() and pa_streq(); alow pa_unlock_lockfile() without file name spec git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2470 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix daemon shutdown with active monitor streamsLennart Poettering2008-05-182-2/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2469 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove a misplaced assertLennart Poettering2008-05-181-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2466 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix pa_close_all() to make it actually work as advertisedLennart Poettering2008-05-181-11/+20
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2464 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add another assert to catch sleep time miscalculations easierLennart Poettering2008-05-171-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2461 fefdeb5f-60dc-0310-8127-8f9354f1896f
* link latency of monitor source to sinkLennart Poettering2008-05-172-0/+36
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2457 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new function pa_source_set_latency_range(), fix type of requested_latencyLennart Poettering2008-05-172-1/+22
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2456 fefdeb5f-60dc-0310-8127-8f9354f1896f
* only unref memblock if there is oneLennart Poettering2008-05-171-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2455 fefdeb5f-60dc-0310-8127-8f9354f1896f
* dump latency metrics for recording streams, tooLennart Poettering2008-05-171-1/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2454 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix peak detection pseudo resamplerLennart Poettering2008-05-171-6/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2453 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge glitch-free branch back into trunkLennart Poettering2008-05-1587-2500/+5980
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge r2194 from prepare-0.9.10Lennart Poettering2008-03-311-22/+36
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2209 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge r2192 from prepare-0.9.10Lennart Poettering2008-03-311-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2207 fefdeb5f-60dc-0310-8127-8f9354f1896f
* properly notify clients about suspended state when moving source output ↵Lennart Poettering2008-03-271-0/+1
| | | | | | streams. Closes #244. Patch from slicer git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2181 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Double maximum sample size for some overly huge samples some distros shipLennart Poettering2008-03-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2133 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Attempt to resolve the multilib conflicts by getting all the config filesLennart Poettering2008-03-271-2/+30
| | | | | | | | | | | | | look equally for all plattforms. This includes getting rid go pathnames with libdir; let's make ps search for files with relative paths there. https://bugzilla.redhat.com/show_bug.cgi?id=228383 Modified patch, originally from Lubomir Kundrak <lkundrak@redhat.com> git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2132 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add proper arm atomic ops support, patch from Jyri SarhaLennart Poettering2008-03-261-1/+230
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2127 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Clarify the explanation of the in_action field in pa_autoload_entry.Tanu Kaskinen2008-02-151-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2112 fefdeb5f-60dc-0310-8127-8f9354f1896f
* allow compilation on systems that lack POSIX shared memory. Patch from ↵Lennart Poettering2008-02-151-1/+3
| | | | | | matthijs, closes #200 git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2110 fefdeb5f-60dc-0310-8127-8f9354f1896f
* deal with a possibly failing pa_channel_map_init_auto() correctlyLennart Poettering2008-02-137-10/+22
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2105 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Don't send opcodes introduced in protocol versions 12 to clients using protocolSjoerd Simons2008-01-041-0/+12
| | | | | | | version 11. (fixes #183) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2097 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add forgotted #ifdef __linux__ and only use SIGRTMIN if it is defined. FixesSjoerd Simons2008-01-041-0/+2
| | | | | | | | | compilation on non-linux platforms like GNU/kFreeBSD. Thanks to Aurelien Jarno for the patch git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2095 fefdeb5f-60dc-0310-8127-8f9354f1896f
* convert argument to boolean value before passing it on to __builtin_expect ↵Lennart Poettering2007-12-291-1/+1
| | | | | | in PA_LIKELY git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2090 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add API for resetting allocated resamplersLennart Poettering2007-12-232-7/+35
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2088 fefdeb5f-60dc-0310-8127-8f9354f1896f
* wrap speex_resampler_reset_mem()Lennart Poettering2007-12-231-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2087 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Increase the maximum line length of default.pa from 256 to 1024. Load ↵Tanu Kaskinen2007-12-141-1/+1
| | | | | | commands of modules that need multiple channel maps may grow rather long. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2084 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add new subsystem for applying envelopes (such as volume ramps) to audio signalsLennart Poettering2007-11-242-0/+838
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2082 fefdeb5f-60dc-0310-8127-8f9354f1896f