Lennart Poettering
adc2973c8d
Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED
2008-10-26 19:32:04 +01:00
Lennart Poettering
b712e7b13d
make sure to use 64bit rounding even on 32bit machines when converting to pa_usec_t
2008-10-24 04:34:10 +02:00
Lennart Poettering
c4b346259f
make the debug trap macro a proper macro in macro.h
2008-10-21 22:04:22 +02:00
Lennart Poettering
651a451c54
support changing logging parameters during runtime using the CLI
2008-10-21 19:14:07 +02:00
Lennart Poettering
f4320d83a2
Support showing a backtrace on log messages
2008-10-21 19:13:15 +02:00
Lennart Poettering
f92a814118
include log.h near the end so that macro.h can be included in log.h and defines pa_bool_t properly
2008-10-21 18:40:01 +02:00
Lennart Poettering
d4c6342032
add pa_config_parse_unsigned()
2008-10-21 18:38:55 +02:00
Lennart Poettering
7fecb2340e
convert argument to boolean int in PA_UNLIKELY, too
2008-10-21 18:27:25 +02:00
Lennart Poettering
519bb556cd
fix return value of pa_frame_aligned()
2008-10-21 18:26:24 +02:00
Lennart Poettering
358824b330
add new virtual function may_move_to to sink inputs/source outputs to allow modules to forbid certain connections
2008-10-21 18:24:45 +02:00
Lennart Poettering
309bc71f07
fix invalid validity check
2008-10-21 18:22:28 +02:00
Lennart Poettering
d395792788
always check for libtool prefix binary name to avoid confusion when using both installed and run-from-build-tree versions of PA in parallel
2008-10-19 22:24:18 +02:00
Colin Guthrie
91b64bc96b
Fix a potential C++/C99 ism, add a log message on error condition
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-08 22:56:12 +02:00
Lennart Poettering
b6ccea3064
add a comment that pa_sink_input_set_volume and module-flat-volume.c are related
2008-10-08 00:10:01 +02:00
Lennart Poettering
68cc2996cc
after calling PA_CORE_HOOK_SINK_SET_VOLUME hook, check again whether the volume changed
2008-10-07 22:47:32 +02:00
Lennart Poettering
46f73fb953
additional validity checks
2008-10-07 22:47:01 +02:00
Lennart Poettering
e053fa03f7
if the channel map was modified due to PA_SINK_INPUT_FIX_CHANNELS, remap the specified volume properly
2008-10-07 22:46:18 +02:00
Lennart Poettering
e1dbc75eb8
use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() as channel map for sink inputs/source outputs in case no map is specified
2008-10-07 22:45:37 +02:00
Lennart Poettering
ae83483cf0
modernize a few checks
2008-10-07 22:44:43 +02:00
Lennart Poettering
72024cda54
when the volume is changed make sure we send out a subscription event
2008-10-07 22:43:00 +02:00
Lennart Poettering
624f220aa6
instead of resetting virtual_volume unconditionally on initialization, do so only when no volume was set before
2008-10-07 22:42:13 +02:00
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