summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix a minor memory leak when unloading m-c-kLennart Poettering2008-06-132-3/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2523 fefdeb5f-60dc-0310-8127-8f9354f1896f
* drop hal inclusion from module-console-kit.cLennart Poettering2008-06-121-2/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2522 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Trivial typo fix in debug log message.Colin Guthrie2008-06-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2521 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge Colin Guthrie's module-always-sink module, and add priorization to the ↵Lennart Poettering2008-06-1114-60/+262
| | | | | | hook subsystem while doing so. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2516 fefdeb5f-60dc-0310-8127-8f9354f1896f
* enable auto-spawning by defaultLennart Poettering2008-06-113-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2515 fefdeb5f-60dc-0310-8127-8f9354f1896f
* enable ConsoleKit support and positioned event sounds by defaultLennart Poettering2008-06-111-1/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2514 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new switch --start to the PA binary which allows starting PA if it is ↵Lennart Poettering2008-06-115-7/+72
| | | | | | 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-116-55/+193
| | | | | | 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
* add new module-console-kit which tracks ck sessions to avoid termination ↵Lennart Poettering2008-06-112-2/+348
| | | | | | when there is still some session using the PA instance git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2508 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new module module-position-event-sounds for positioning event sounds in ↵Lennart Poettering2008-06-112-2/+178
| | | | | | space git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2507 fefdeb5f-60dc-0310-8127-8f9354f1896f
* replace pa_atof() by pa_atod() because floats are lameLennart Poettering2008-06-113-12/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2506 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update well-known property listLennart Poettering2008-06-111-3/+12
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2505 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Do not invalidate the cookie if no file was specified.Colin Guthrie2008-06-091-2/+2
| | | | | | | Only invalidate it when a cookie-file is specified and it is not loaded/parsed correctly. This fixes a bug introduced in r2494 git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2498 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Rejig r2495 slightly and directly compile the necessary source files as ↵Colin Guthrie2008-06-031-2/+2
| | | | | | libpulsecore.so is not available when libpulsedsp.so is built git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2496 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Also link libpulsecore.la to some libraries (needed for logging). Discovered ↵Colin Guthrie2008-06-031-2/+2
| | | | | | while compiling with --as-needed git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2495 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Perfer client.conf over X11 property variables.Colin Guthrie2008-06-031-1/+1
| | | | | | | | | To explain: X11 properties are always set on the root window if pulseaudio is started during X11 login (which is the most likey time to start it). This means that any settings specified in client.conf will almost never be used. As the default client.conf is empty it makes more sense to listen to it if a user cares to bother altering it. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2494 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
* update propsLennart Poettering2008-05-291-11/+20
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2492 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-274-7/+9
| | | | | | 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
* readd name field to upload datagramLennart Poettering2008-05-271-3/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2487 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a minor memory leakLennart Poettering2008-05-271-2/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2486 fefdeb5f-60dc-0310-8127-8f9354f1896f
* big mumbo jumo of interleaved patches.Lennart Poettering2008-05-217-35/+98
| | | | | | | | | * 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
* move device volume file to state dirLennart Poettering2008-05-211-5/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2479 fefdeb5f-60dc-0310-8127-8f9354f1896f
* move default device from runtime to state dirLennart Poettering2008-05-211-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2478 fefdeb5f-60dc-0310-8127-8f9354f1896f
* move volume restore table from runtime to state dir, fix another compiler ↵Lennart Poettering2008-05-211-2/+4
| | | | | | warning git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2477 fefdeb5f-60dc-0310-8127-8f9354f1896f
* define PA_SYSTEM_CONFIG_PATH and PA_SYSTEM_STATE_PATH for CLennart Poettering2008-05-211-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2476 fefdeb5f-60dc-0310-8127-8f9354f1896f
* deal with failing pa_runtime_path()Lennart Poettering2008-05-211-3/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2475 fefdeb5f-60dc-0310-8127-8f9354f1896f
* properly handle if pa_runtime_path() failsLennart Poettering2008-05-211-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2474 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make state and config path for system instance configurableLennart Poettering2008-05-211-0/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2473 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a compiler warningLennart Poettering2008-05-211-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2472 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
* ignore close-test binaryLennart Poettering2008-05-180-0/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2468 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a small test program for pa_close_all()Lennart Poettering2008-05-182-0/+26
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2467 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
* make sure we don't hit an assert when autospawningLennart Poettering2008-05-181-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2465 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
* fix a misplaced assertLennart Poettering2008-05-181-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2463 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix return value of noop pa_limit_caps()Lennart Poettering2008-05-171-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2462 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