Lennart Poettering
143e1ba739
downgrade a few messages
2009-04-03 17:49:05 +02:00
Lennart Poettering
3df9eef9d0
take org.pulseaudio.Server instead of org.pulseaudio to match the interface name already used in the HAL module
2009-03-30 21:07:23 +02:00
Marc-André Lureau
b4ef64d198
daemon: take org.pulseaudio
2009-03-30 20:57:07 +03:00
Lennart Poettering
bd3154a861
introduce pa_assert_fp() for fast path assertions
2009-03-20 13:29:42 +01:00
Finn Thain
0329edd179
revive solaris module
...
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
2009-03-03 22:27:00 +01:00
Colin Guthrie
86dee05aec
Use LGPL 2.1 on all files previously using LGPL 2
2009-03-03 20:23:02 +00:00
Lennart Poettering
77779ead6d
rework logging to make it more modular
2009-02-21 22:45:56 +01:00
Lennart Poettering
9b74afcfa3
make string translatable ( fixes #483 )
2009-02-21 17:01:09 +01:00
Lennart Poettering
4505bc9cc6
introduce default channel map in addition to the default sample spec
2009-02-21 16:32:42 +01:00
Marc-André Lureau
a252b61be1
main: remove unused lf variable
2009-02-19 04:54:35 +01:00
Lennart Poettering
c9c63c295f
allow pa to be run in a chroot() environment tht lacks /proc
2009-02-18 21:45:06 +01:00
Lennart Poettering
a5401a50a6
store the default sink/source in proper pa_sink*/pa_source* pointers instead of a string
2009-01-28 01:46:27 +01:00
Lennart Poettering
d5f46e824e
move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources
2009-01-27 04:39:07 +01:00
Lennart Poettering
3bcbe1d18f
check for availability of RLIMIT_NOFILE and RLIMIT_AS before we make use of it
2009-01-27 00:48:53 +01:00
Lennart Poettering
4dc1916467
add API pa_ncpus()
2009-01-22 02:17:19 +01:00
Jared D. McNeill
cc425ed260
NetBSD doesn't know RLIMIT_AS
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:39:54 +01:00
Lennart Poettering
5793f93350
make use of PR_SET_TIMERSLACK
2009-01-16 19:57:58 +01:00
Lennart Poettering
29c7a28817
kill autoload stuff as planned
2009-01-15 20:07:13 +01:00
Lennart Poettering
1d2e5cba52
Make sure we drop CAP_NICE if RT is not allowed
...
but make sure we still allow RT if RLIMIT_RTPRIO is properly set when PA
is called.
2008-12-18 01:25:54 +01:00
Lennart Poettering
e4aa5f2115
Fix return value of --dump-resample-methods
...
We should return 0 when --dump-resample-methods is called.
Problem identified by "hchen59".
Closes bug #407 .
2008-12-16 18:17:21 +01:00
Lennart Poettering
496499c0df
Make log meta, time, backtrace configurable using config file
2008-10-21 19:15:41 +02:00
Lennart Poettering
d675058358
Fix spelling of privilige
2008-10-19 22:25:58 +02:00
Lennart Poettering
c8a963af02
Initialize exit_idle_time to -1 instead of 0 when in system mode.
...
Spotted by Rafał Mużyło.
2008-10-07 02:01:42 +02:00
Lennart Poettering
3c193520ee
show valgrind status on startup
2008-10-04 00:13:29 +02:00
Lennart Poettering
79ad4e63f6
Make the shared memory segment size configurable
...
This is useful only on systems where memory overcommit is not available
or disabled.
2008-10-01 01:14:36 +02:00
Lennart Poettering
821dc1797f
move autospawn lock to pulsecore/ since we don't need it in the client anymore
2008-09-08 17:22:27 +03:00
Lennart Poettering
f2164023fd
Add new option to disable remixing from/to LFE and set it to on by default
2008-09-05 16:04:42 +03:00
Lennart Poettering
33d349dcbb
include build and runtime host information in debug output
2008-09-05 15:42:39 +03:00
Lennart Poettering
a1c857a6a8
include more build info in debug output
2008-09-01 02:38:32 +02:00
Lennart Poettering
1acf394356
change default log level for the library to PA_LOG_ERROR to avoid spamming to stderr more often
2008-08-29 21:43:50 +02:00
Marc-André Lureau
d10e5e56d3
Add CFLAGS information on start-up
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-08-29 20:10:07 +02:00
Lennart Poettering
432b4e5f7d
don't use PA_GCC_UNUSED anymore
2008-08-09 16:20:29 +02:00
Lennart Poettering
15cebbaceb
rework autospawning code to survive multiple pa_contexts in a single process
2008-08-09 03:49:42 +02:00
Lennart Poettering
b4a566918c
print reason when we fail to kill a running daemon
2008-08-09 03:47:59 +02:00
Lennart Poettering
0075649f13
print machine id during startup
2008-08-07 02:23:45 +02:00
Lennart Poettering
ff6bb7acda
add a few configuration sanity checks for system mode
2008-08-06 19:56:15 +02:00
Lennart Poettering
756fac8d04
add new switch --disallow-exit
2008-08-06 19:39:12 +02:00
Lennart Poettering
f1d2bf8408
add i18n support
2008-08-06 18:54:13 +02:00
Lennart Poettering
0b428e7cb1
don't allow --start in system mode
2008-07-30 20:36:34 +02:00
Lennart Poettering
b7b4b5e589
remove debug message
2008-07-30 13:44:20 +02:00
Lennart Poettering
5edbb57516
don't drop caps if we are started as normal root user
2008-07-22 21:13:46 +02:00
Lennart Poettering
8885ddf716
support file-based capabilities instead of SUID root for giving PA rights to acquire RT/HP scheduling: setcap cap_sys_nice=ep /usr/bin/pulseaudio
2008-06-22 01:48:46 +02:00
Lennart Poettering
8ae83d618e
get rid of svn $ keywords
2008-06-18 23:23:21 +03:00
Lennart Poettering
ac0f5275c5
add new switch --start to the PA binary which allows starting PA if it is 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
2008-06-11 17:38:50 +00:00
Lennart Poettering
28405e3dcf
big mumbo jumo of interleaved patches.
...
* 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
2008-05-21 22:50:58 +00:00
Lennart Poettering
045c1d602d
merge glitch-free branch back into trunk
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-15 23:34:41 +00:00
Lennart Poettering
a8269372d3
merge r2187 from prepare-0.9.10
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2203 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-31 22:07:17 +00:00
Lennart Poettering
78bdb978c6
merge r2184 from prepare-0.9.10
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2200 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-31 22:05:48 +00:00
Lennart Poettering
dc3682d3f7
only call pa_ltdl_done() if we called pa_ltdl_init() before
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2111 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-02-15 18:03:11 +00:00
Lennart Poettering
0a807b3c4b
print pa version id each time we start up, so that it is easier to identify the version people are reporting bugs again
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2107 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-02-15 13:13:12 +00:00