Commit graph

2128 commits

Author SHA1 Message Date
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
Stelian Ionescu
564ef2b71f have make_random_dir respect $TMPDIR
with the attached patch, make_random_dir first tries to use $TMPDIR,
then $TMP finally defaulting to "/tmp"

Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-09-29 21:59:57 +02:00
Lennart Poettering
87971c8707 fix compilation errors in priority queue code 2008-09-27 16:31:56 +02:00
Lennart Poettering
3ad8c04564 add a generic priority queue implementation 2008-09-26 09:49:52 -07:00
Lennart Poettering
3e16d2f40d make pa_idxset_trivial_compare_func() do a full compare instea of just equakity check 2008-09-26 09:35:49 -07:00
Lennart Poettering
6188737021 make sure ~/.pulse exists before we create the runtime dir link beneath it 2008-09-12 17:39:08 +03:00
Lennart Poettering
17436b21d3 make sure peaks resampler also works for very short input buffers 2008-09-09 02:18:21 +03:00
Lennart Poettering
4050447230 unbreak pa_idxset_rrobin 2008-09-09 02:14:27 +03: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
f52fb64313 if we are exiting due to idleness, say so 2008-09-05 03:17:48 +02:00
Marc-André Lureau
79009d2235 command_get_info() segv in some conditions
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-09-03 19:44:40 +02:00
Lennart Poettering
40b66a0be9 Implement "early requests" mode.
PA_STREAM_EARLY_REQUESTS is a new flag that will modify buffering metric
selection behaviour a bit. This code is good for broken ALSA/OSS clients that
ignore 'readability' on the fds in question and schedule audio via usleep()
instead.
2008-09-03 18:31:46 +02:00
Lennart Poettering
99d5ec6c93 Rework pa_machine_id() a bit
Guarantee this function never fails, use POSIX gethostid as last resort. Add
comments.
2008-09-03 18:30:27 +02:00
Lennart Poettering
82ea8dde8a avoid rounding errors on requested buffering metrics 2008-09-01 02:41:03 +02:00
Lennart Poettering
002e7a703a output relative timestamps in addition to absolute timestamps when logging 2008-09-01 02:39:27 +02:00
Lennart Poettering
34bcba63a2 remove a few more gcc warnings 2008-08-30 01:22:41 +02:00
Lennart Poettering
13018d62c1 fix a few compiler warnings on older gcc 2008-08-29 23:53:55 +02:00
Lennart Poettering
506eacc922 reword amd64 message 2008-08-29 21:46:12 +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
Lennart Poettering
086fa95407 downgrade a few messages 2008-08-29 21:43:10 +02:00
Lennart Poettering
a45440d5c9 the native atomic ops implementation for amd64 seems to work fine 2008-08-29 21:42:09 +02:00
Lennart Poettering
ca38446e6b Change return value of cmpxchg atomic op to pa_bool_t 2008-08-29 20:24:46 +02:00
Lennart Poettering
bdcb3a493c optionally add timestampts to every line logged 2008-08-29 19:33:06 +02:00
Lennart Poettering
450fe170a5 fix up latency before calling into stream code, to make sure we don't ask for too much data to early 2008-08-29 01:20:25 +02:00
Lennart Poettering
6723699ef8 rework pa_ulog2 and base it on __builtin_clz if available, make pa_make_power_of_two based on it 2008-08-29 01:13:50 +02:00
Lennart Poettering
bb8263be6f add byte-to-usec and usec-to-byte converters that round up, not down 2008-08-28 17:53:01 +02:00
Lennart Poettering
0a1f654c20 call close() in a loop to catch EINTR 2008-08-26 15:44:55 +02:00
Lennart Poettering
dc9b8dce30 add a few missing casts 2008-08-20 03:33:06 +03:00
Lennart Poettering
6baec251d2 use final glibc eventfd() instead of our homegrown syscall invocations 2008-08-19 23:18:20 +02:00
Lennart Poettering
8e71787551 rework cpu limit logic to use monotonic instead of wall clock time 2008-08-19 23:03:37 +02:00
Lennart Poettering
961aa185e3 simplify pa_start_child_for_read by using pa_close_all()/pa_reset_sigs()/pa_unblock_sigs() 2008-08-19 22:49:14 +02:00
Lennart Poettering
b7026bf248 add a few more gcc warning flags and fix quite a few problems found by doing so 2008-08-19 22:39:54 +02:00
Lennart Poettering
3d2d6ca958 Merge commit 'flameeyes/autoconf-2.62' 2008-08-18 23:52:44 +02:00
Lennart Poettering
46f0f9ed8b a few modernizations 2008-08-18 20:07:57 +02:00
Lennart Poettering
5cc2187bec add some code to make invalid valgrind warnings go away 2008-08-18 19:55:55 +02:00
Lennart Poettering
ec62596f49 allow clients to not specify the volume for their streams 2008-08-18 17:49:18 +02:00
Lennart Poettering
c35d1bbec3 rework validity checking of sink/source/... names 2008-08-18 17:48:04 +02:00
Lennart Poettering
d315dcf5d9 save a bit of memory 2008-08-18 17:46:57 +02:00
Lennart Poettering
916899a973 pass force_refresh=FALSE to all volume/mute read invocations 2008-08-13 13:59:50 +02:00
Lennart Poettering
3ec4a5db99 rework volume/mute APIs: split out pa_xx_set_soft_volume() and add force_refresh argument to read functions 2008-08-13 13:55:58 +02:00
Lennart Poettering
7c5a95950e initialize IP ACLs properly 2008-08-11 19:46:28 +02:00
Lennart Poettering
c4dff4d416 otpimize mixing code a bit by moving a few checks out of the inner loops 2008-08-11 18:34:38 +02:00
Lennart Poettering
5b2a83733d optimize volume changing a bit by only using a single counter for the inner loops instead of two 2008-08-11 15:19:52 +02:00
Lennart Poettering
b604290803 adhere to struct gcc aliasing rules 2008-08-11 15:17:30 +02:00
Lennart Poettering
b21840407a fix bad memory access 2008-08-09 17:04:41 +02:00
Lennart Poettering
afbfd5d937 adhere to C strict aliasing rules 2008-08-09 17:03:43 +02:00
Lennart Poettering
432b4e5f7d don't use PA_GCC_UNUSED anymore 2008-08-09 16:20:29 +02:00
Lennart Poettering
9996213c41 free regex_t after use 2008-08-09 16:12:50 +02:00