summaryrefslogtreecommitdiffstats
path: root/src/daemon/main.c
Commit message (Collapse)AuthorAgeFilesLines
* revive solaris moduleFinn Thain2009-03-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hi All, This patch fixes the solaris audio device source and sink, and fixes some portability issues that break the build on solaris. Questions and comments welcomed. I've tested this patch only with OpenSolaris Express snv 103. Eventually I hope to be able to test a few older releases and older hardware (though it is hard to say whether there is much interest in those). This is my first brush with pulseaudio and so I read the wiki docs and some of the source code but I'm still unsure of a few things. In particular I'm wondering about rewind processing, corking and what (if anything) the module needs for those. I'm also unclear on the implications of thread_info.buffer_size, .fragment_size and .max_request, and whether my code is correct or not. This patch disables link map/library versioning unless ld is GNU ld. Another approach for solaris would be to use that linker's -M option, but I couldn't make that work (due to undefined mainloop, browse and simple symbols when linking pacat. I can post the errors if anyone is intested.) Thanks, Finn Thain
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* rework logging to make it more modularLennart Poettering2009-02-211-6/+9
|
* make string translatable (fixes #483)Lennart Poettering2009-02-211-2/+3
|
* introduce default channel map in addition to the default sample specLennart Poettering2009-02-211-0/+1
|
* main: remove unused lf variableMarc-André Lureau2009-02-191-4/+0
|
* allow pa to be run in a chroot() environment tht lacks /procLennart Poettering2009-02-181-2/+5
|
* store the default sink/source in proper pa_sink*/pa_source* pointers instead ↵Lennart Poettering2009-01-281-5/+0
| | | | of a string
* move flat volume logic into the core. while doing so add n_volume_steps ↵Lennart Poettering2009-01-271-0/+1
| | | | field to sinks/sources
* check for availability of RLIMIT_NOFILE and RLIMIT_AS before we make use of itLennart Poettering2009-01-271-0/+2
|
* add API pa_ncpus()Lennart Poettering2009-01-221-0/+2
|
* NetBSD doesn't know RLIMIT_ASJared D. McNeill2009-01-221-0/+2
| | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* make use of PR_SET_TIMERSLACKLennart Poettering2009-01-161-0/+2
|
* kill autoload stuff as plannedLennart Poettering2009-01-151-2/+1
|
* Make sure we drop CAP_NICE if RT is not allowedLennart Poettering2008-12-181-7/+39
| | | | | but make sure we still allow RT if RLIMIT_RTPRIO is properly set when PA is called.
* Fix return value of --dump-resample-methodsLennart Poettering2008-12-161-0/+1
| | | | | | | | We should return 0 when --dump-resample-methods is called. Problem identified by "hchen59". Closes bug #407.
* Make log meta, time, backtrace configurable using config fileLennart Poettering2008-10-211-0/+3
|
* Fix spelling of priviligeLennart Poettering2008-10-191-7/+7
|
* Initialize exit_idle_time to -1 instead of 0 when in system mode.Lennart Poettering2008-10-071-2/+2
| | | | Spotted by Rafał Mużyło.
* show valgrind status on startupLennart Poettering2008-10-041-0/+2
|
* Make the shared memory segment size configurableLennart Poettering2008-10-011-1/+1
| | | | | This is useful only on systems where memory overcommit is not available or disabled.
* move autospawn lock to pulsecore/ since we don't need it in the client anymoreLennart Poettering2008-09-081-1/+1
|
* Add new option to disable remixing from/to LFE and set it to on by defaultLennart Poettering2008-09-051-0/+1
|
* include build and runtime host information in debug outputLennart Poettering2008-09-051-2/+7
|
* include more build info in debug outputLennart Poettering2008-09-011-0/+13
|
* change default log level for the library to PA_LOG_ERROR to avoid spamming ↵Lennart Poettering2008-08-291-3/+3
| | | | to stderr more often
* Add CFLAGS information on start-upMarc-André Lureau2008-08-291-0/+1
| | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* don't use PA_GCC_UNUSED anymoreLennart Poettering2008-08-091-2/+2
|
* rework autospawning code to survive multiple pa_contexts in a single processLennart Poettering2008-08-091-10/+26
|
* print reason when we fail to kill a running daemonLennart Poettering2008-08-091-1/+1
|
* print machine id during startupLennart Poettering2008-08-071-1/+11
|
* add a few configuration sanity checks for system modeLennart Poettering2008-08-061-0/+16
|
* add new switch --disallow-exitLennart Poettering2008-08-061-0/+1
|
* add i18n supportLennart Poettering2008-08-061-57/+60
|
* don't allow --start in system modeLennart Poettering2008-07-301-0/+5
|
* remove debug messageLennart Poettering2008-07-301-2/+0
|
* don't drop caps if we are started as normal root userLennart Poettering2008-07-221-1/+1
|
* support file-based capabilities instead of SUID root for giving PA rights to ↵Lennart Poettering2008-06-221-12/+19
| | | | acquire RT/HP scheduling: setcap cap_sys_nice=ep /usr/bin/pulseaudio
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* add new switch --start to the PA binary which allows starting PA if it is ↵Lennart Poettering2008-06-111-6/+50
| | | | | | 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
* big mumbo jumo of interleaved patches.Lennart Poettering2008-05-211-4/+20
| | | | | | | | | * 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
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-140/+157
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge r2187 from prepare-0.9.10Lennart Poettering2008-03-311-6/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2203 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge r2184 from prepare-0.9.10Lennart Poettering2008-03-311-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2200 fefdeb5f-60dc-0310-8127-8f9354f1896f
* only call pa_ltdl_done() if we called pa_ltdl_init() beforeLennart Poettering2008-02-151-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2111 fefdeb5f-60dc-0310-8127-8f9354f1896f
* print pa version id each time we start up, so that it is easier to identify ↵Lennart Poettering2008-02-151-2/+3
| | | | | | the version people are reporting bugs again git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2107 fefdeb5f-60dc-0310-8127-8f9354f1896f
* - Check process name when dealing with PID filesLennart Poettering2007-11-211-40/+129
| | | | | | | | | | | | - 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
* make disallow-module-loading config option work again (original patch from ↵Lennart Poettering2007-11-011-2/+5
| | | | | | Diego Petteno) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2015 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make rtprio and nice level actually configurableLennart Poettering2007-11-011-3/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2014 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add nice and rtprio resource limit support; make rtprio and nice level to ↵Lennart Poettering2007-11-011-0/+6
| | | | | | use configurable; some minor updates git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2010 fefdeb5f-60dc-0310-8127-8f9354f1896f