Marc-Andre Lureau
45412740b8
volume hooks
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-07 01:54:30 +02:00
Lennart Poettering
aa4373962c
make sure we send a started messages when we are uncorking
2008-10-06 02:26:08 +02:00
Lennart Poettering
f728e9cce0
disable valgrind macro usage for now since valgrind generates a lot of spurious warnings as it seems
2008-10-05 22:51:25 +02:00
Lennart Poettering
82c46f2238
do not cleanup staticly allocated memory unless we are in valgrind mode
2008-10-04 00:14:02 +02:00
Lennart Poettering
8222f1200f
add new API function pa_in_valgrind() to check for
2008-10-04 00:10:43 +02:00
Lennart Poettering
c0815deb4a
allow - in sample names
2008-10-03 19:49:15 +02:00
Lennart Poettering
2367212ec3
make a few casts explicit to remove compiler warnings
2008-10-03 17:14:58 +02:00
Lennart Poettering
7c2cb77583
a bit of late pa_bool_t'ization
2008-10-03 17:14:35 +02:00
Lennart Poettering
33b186e74d
user lrint() and friends in inner loops instead of normal C casts to speed up a few things
2008-10-03 02:34:59 +02:00
Lennart Poettering
1bb5e58fb3
use PA_FLOAT32_SWAP where useful
2008-10-03 02:33:44 +02:00
Lennart Poettering
7d442e3276
optimize mixing routines a bit by pulling the multiplication with the global volume out of the inner loop by applying it first to the per-stream volumes
2008-10-03 01:53:34 +02:00
Lennart Poettering
ea82dec294
when we mix into a 16bit accumulator make sure we clamp before we scale with a volume to avoid range faults when multiplying
2008-10-02 02:29:56 +02:00
Lennart Poettering
9f5d052d93
make simple protocol not crash when allocating a memory block
2008-10-02 00:04:02 +02:00
Lennart Poettering
ea15ca9862
PA_WARN_REFERENCE works only for ELF targets
2008-10-01 14:49:00 +02:00
Lennart Poettering
4b67ea166a
remove useless log message, re #367
2008-10-01 03:44:03 +02:00
Lennart Poettering
644f39d261
a few FreeBSD fixes, from alexis
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-01 01:31:56 +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
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