Commit graph

1460 commits

Author SHA1 Message Date
Lennart Poettering
c010172c66 memblock: modernizations 2009-09-18 22:16:25 +02:00
Lennart Poettering
c024aeaae9 timeval: make timeval conversion routines handle PA_USEC_INVALID special 2009-09-18 04:14:39 +02:00
Lennart Poettering
fdec460661 core-rtclock: introduce pa_timespec_store() akin pa_timeval_store() 2009-09-18 04:14:37 +02:00
Lennart Poettering
56f217f3f8 macro: introduce PA_INT_TYPE_MIN, PA_INT_TYPE_MAX, PA_INT_TYPE_SIGNED macros 2009-09-18 04:14:37 +02:00
Lennart Poettering
7b76ea3784 core-util: unify how we determine the temporary directory 2009-09-17 21:06:54 +02:00
Lennart Poettering
2d9168ceb3 Improve TMPDIR handling
Patch from 'jnelson',

http://pulseaudio.org/ticket/653
2009-09-17 20:58:36 +02:00
Lennart Poettering
231c17be03 svolume_mmx: disable test accidentaly left on 2009-09-17 01:34:02 +02:00
Lennart Poettering
4e6dce593f Merge remote branch 'wtay/optimize' 2009-09-17 01:32:03 +02:00
Lennart Poettering
e2899f8bf3 memblock: make it easy to disable mempool usage with $PULSE_MEMPOOL_DISABLE 2009-09-17 01:21:56 +02:00
Wim Taymans
3d5a572694 svolume_mmx: optimize some more
We can reorder the algortihm a bit like we do for sse so that we
don't need the contants and masking instructions. Saves 2 instructions
for the mmx code.
2009-09-16 17:14:12 +02:00
Wim Taymans
d397a82e14 svolume_sse: fix comment 2009-09-16 17:14:11 +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
Tanu Kaskinen
587131917f dbus-protocol: Implement argument type checking for normal methods. 2009-08-31 18:12:55 +03:00
Tanu Kaskinen
0ad2d55cbe Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
Conflicts:
	src/modules/module-stream-restore.c
2009-08-30 20:07:31 +03:00
Tanu Kaskinen
0e096632c5 dbus: Do message argument type checking early, centrally. 2009-08-30 19:52:22 +03: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