Lennart Poettering
e2899f8bf3
memblock: make it easy to disable mempool usage with $PULSE_MEMPOOL_DISABLE
2009-09-17 01:21:56 +02:00
Lennart Poettering
a015d56fac
core: add an additional volume factor that is applied after resampling took place
2009-09-11 03:26:25 +02:00
Lennart Poettering
807f2a9923
native: send PA_COMMAND_PLAYBACK_BUFFER_ATTR_CHANGED messages only to clients that understand it
2009-09-10 02:15:12 +02:00
Lennart Poettering
71e066c873
simd: be more precise which SIMD optimizations we activate
2009-09-09 04:28:22 +02:00
Lennart Poettering
1f0904b800
sample-util: add pa_convert_size() call for converting sizes between two sample specs
2009-09-09 04:27:16 +02:00
Lennart Poettering
12df6860ad
ratelimit: allow non-static ratelimit structs
2009-09-09 02:41:34 +02:00
Lennart Poettering
31d1d9088e
protocol-native: log explicitly when someone asks us to quit
2009-09-08 23:53:28 +02:00
Lennart Poettering
31ae7deefa
core-util: properly fill in exception array for pa_reset_sigs() (llvm-clang-analyzer)
2009-09-08 23:52:58 +02:00
Lennart Poettering
1516b7c047
conf-parser: properly initialize variable we free() later (llvm-clang-analyzer)
2009-09-08 23:51:39 +02:00
Lennart Poettering
3c9a09bc45
cli-command: don't necessarily ovveride failure code of files (llvm-clang-analyzer)
2009-09-08 23:51:00 +02:00
Lennart Poettering
5fd751fc2e
cli-command: modernizations
2009-09-08 23:50:14 +02:00
Lennart Poettering
f5046759cd
llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes
2009-09-08 23:46:23 +02:00
Lennart Poettering
508c462841
Merge remote branch 'wtay/optimize'
2009-09-07 22:44:16 +02:00
Lennart Poettering
b705a9bb8d
vector: don't try to build vector stuff on altivec
2009-09-07 22:32:11 +02:00
Lennart Poettering
3bbc5e6a4d
volume: fix definition of PA_VOLUME_MAX and introduce PA_VOLUME_INVALID and use it wherever applicable
2009-09-07 19:53:39 +02:00
Wim Taymans
723499439f
x86: also call see init for SSE2
2009-09-07 17:28:19 +02:00
Wim Taymans
b5ac3839e1
x86: only install some functions when SSE2
...
Remap and volume functions use SSE2 instructions so only install them when SSE2
is present.
2009-09-07 17:21:21 +02:00
Lennart Poettering
e6a666d8d5
libpulse: introduce PA_BYTES_SNPRINT_MAX and make use of it wherever applicable
2009-09-06 22:33:04 +02:00
Lennart Poettering
6f396c89ab
remap: build sse code only on x86
2009-09-03 01:48:30 +02:00
Lennart Poettering
14a9771689
core: drop unnecessary variable initialization
2009-09-03 00:21:19 +02:00
Lennart Poettering
9f4f374a19
remap_sse: fix inner loop increment on SSE
...
In each iteration we can process 2^4 S16NE samples and 2^5 F32NE
samples, that's twice as much as in MMX, hence correct the increments.
2009-09-03 00:17:28 +02:00
Lennart Poettering
51423cae52
remap_sse: reindent macro so that diff to MMX is nicer
...
Completely useless, but diff -u remap_mmx.c remap_sse.c is much nicer
this way.
2009-09-03 00:16:40 +02:00
Wim Taymans
26164ff051
sconv_sse: fix leftover counter
2009-09-02 19:42:17 +02:00
Lennart Poettering
51fc1763a1
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-09-02 04:06:04 +02:00
Lennart Poettering
297afadbef
core-util: don't leak memory in pa_unset_env_recorded()
2009-09-02 04:05:34 +02:00
Lennart Poettering
767c7c7cf4
core-util: call dbus_connection_set_exit_on_disconnect() on shared busses to make sure dbus_shutdown() isn't fatal
2009-09-02 04:03:18 +02:00
Lennart Poettering
1200a0b143
sink: simplify pa_sink_render_full() by replacing it by a pa_sink_render() plus a couple of pa_sink_render_full()
2009-09-02 00:54:22 +02:00
Lennart Poettering
a8c0f65fae
daemon: clean up environment when forking off children
2009-09-02 00:42:54 +02:00
Lennart Poettering
5f929963d1
core-util: add api for setting env vars and record them so that we can undo them n fork
2009-09-02 00:34:27 +02:00
Lennart Poettering
45513a2077
core: fill up memblock with pa_sink_render_into_full() in pa_sink_render_full() instead of doing our own loop
2009-09-01 22:19:30 +02:00
Lennart Poettering
17f609ac83
core: handle suspended state in pa_sink_render_full() similar to the other render functions
2009-09-01 22:18:55 +02:00
Lennart Poettering
ce6dff4ee0
core: add missing sink_unref()
2009-09-01 22:18:01 +02:00
Wim Taymans
dc221f204b
remap: fix counters for mmx and sse remap
...
Take the size of the sample into account when calculating the amount of samples
we process in parallel.
2009-08-31 21:50:56 +02:00
Lennart Poettering
e20d9068a3
cli: make sure 'dump' uses pa_cvolume_max() to deduce a single-channel volume from a multi-channel volume
2009-08-31 21:42:09 +02:00
Lennart Poettering
7c6a0ec66c
cli: apply single-channel volume changes equally to all channels
2009-08-31 21:41:36 +02:00
Lennart Poettering
2970c11902
core: always allow volume setting with single-channel pa_cvolume
2009-08-31 21:40:59 +02:00
Lennart Poettering
e1ce365cd9
native: make sure clients cannot trigger an assert by sending us invalid volume info
2009-08-29 06:11:02 +02:00
Lennart Poettering
8bf2e3fe94
core: initialize sink/source priorities automatically based on their proplists
2009-08-29 04:31:33 +02:00
Lennart Poettering
18b13a89a5
namereg: select default sink by priority
2009-08-29 03:58:57 +02:00
Lennart Poettering
a7b3125206
protocol-native: replace use of pa_namereg_is_valid_name() by pa_namereg_is_valid_name_or_wildcard() where applicable to allow use of @@ wildcards
2009-08-29 03:57:53 +02:00
Lennart Poettering
85a683f392
namereg: add new pa_namereg_is_valid_name_or_wildcard() call
2009-08-29 03:56:03 +02:00
Lennart Poettering
3b54849a08
core: add priority field to pa_sink/pa_source
2009-08-28 23:31:05 +02:00
Lennart Poettering
ca2c0f22d8
sconv: quieten gcc a bit
2009-08-28 23:31:05 +02:00
Lennart Poettering
84eb6614eb
core: move 'flags' field into 'pa_sink_input_new_data' structure so that hooks can access it
2009-08-28 23:24:09 +02:00
Andy Shevchenko
300384ce0a
Fix checking for NULL after usage
...
The pa_xmalloc calls oom() in case of NULL pointer returned by malloc() on one
hand and dereferencing of pointer is happen early than actual check on other
hand. Thus, just remove useless checks.
2009-08-28 17:12:44 +02:00
Andy Shevchenko
ae383539d7
core-util: Fix logic of pa_make_path_absolute()
...
Make it works as described in commentary (when fn is NULL, pa_assert(fn) could
break logic).
2009-08-28 17:12:26 +02:00
Wim Taymans
beb180b7bc
convert: add sse/sse2 s16 to float32ne conversions
2009-08-27 10:44:53 +02:00
Wim Taymans
27bfb7628c
macro: add macro to align variables
2009-08-27 10:44:53 +02:00
Wim Taymans
59070892ed
remap: cleanup assembler a little
2009-08-27 10:44:52 +02:00
Wim Taymans
9d25467964
sample-util: avoid stack overrun
...
The linear volume array needs enough padding when preparing the volumes for
mixing.
2009-08-27 10:44:52 +02:00