summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
Commit message (Collapse)AuthorAgeFilesLines
* 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
* add new pa_mutex_try_lock() APILennart Poettering2007-11-242-0/+13
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2080 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new endianess macros for FLOAT32Lennart Poettering2007-11-241-0/+14
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2079 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make sure to create ~/.pulse before using any configuration file from itLennart Poettering2007-11-241-1/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2078 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update speex resampler with newer snapshot from Speex SVNLennart Poettering2007-11-222-15/+66
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2073 fefdeb5f-60dc-0310-8127-8f9354f1896f
* when speaking to a client with a version < 12, hide S32 sample specs, and ↵Lennart Poettering2007-11-211-18/+59
| | | | | | make them appaear as FLOAT32 git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2069 fefdeb5f-60dc-0310-8127-8f9354f1896f
* - Check process name when dealing with PID filesLennart Poettering2007-11-2112-71/+528
| | | | | | | | | | | | - Add new PA_STREAM_FIX_CHANNELS, FIX_RATE, FIX_FORMAT, DONT_MOVE, VARIABLE_RATES to pa_sream_flags_t adn implement it - Expose those flags in pacat - Add notifications about device suspend/resume to the protocol and expose them in libpulse - Allow changing of buffer_attr during playback - allow disabling for remixing globally - hookup polkit support git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2067 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a couple of new opcodes, and document the versions the opcodes where addedLennart Poettering2007-11-211-6/+25
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2064 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add API to allow runtime reconfiguration of memblockqsLennart Poettering2007-11-212-23/+78
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2063 fefdeb5f-60dc-0310-8127-8f9354f1896f
* use a free list for allocating reply_info structsLennart Poettering2007-11-141-2/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2057 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Completely rework ALSA device selection code: choose the device to open ↵Lennart Poettering2007-11-135-7/+8
| | | | | | depending on the requested number of channels and channel map. In most cases it will now suffice to set default-channels=6 to enable 5.1 sound for all devices that support it git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2050 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix loading of load-once modules if no other modules was loaded beforeLennart Poettering2007-11-131-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2049 fefdeb5f-60dc-0310-8127-8f9354f1896f
* pull code for starting helper processes out of module-gconf, clean it up, ↵Lennart Poettering2007-11-112-0/+194
| | | | | | and stick into a new API pa_start_child_for_read() git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2046 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new function pa_strnull() to simplify passing null strings to non-linux ↵Lennart Poettering2007-11-111-0/+4
| | | | | | printf() git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2045 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a simple fully-automatic fully-linearupmixer/downmixer and enable it by ↵Lennart Poettering2007-11-114-68/+516
| | | | | | default git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2044 fefdeb5f-60dc-0310-8127-8f9354f1896f
* tag modules that may only be loaded once at most especially, and enforce ↵Lennart Poettering2007-11-094-4/+44
| | | | | | that in the module loader git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2043 fefdeb5f-60dc-0310-8127-8f9354f1896f