Daniel Mack
17d34462ea
poll() is totally broken on Mac OS X
...
Even on 10.5.8, poll() does not do the right thing. Haven't checked on
newer versions. Hence, wrap all occurences of poll() to pa_poll and
emulate that call with select() on OSX. This is totally embarassing.
2009-12-16 16:11:36 +08:00
Lennart Poettering
49bc6bcf08
stripnul: initialize 'found' bool properly (llvm-clang-analyzer)
2009-09-08 23:53:56 +02:00
Lennart Poettering
ab5ac06ac7
Merge commit 'wtay/optimize'
2009-08-23 00:06:35 +02:00
Ted Percival
15eb03a5b3
core: Add thread-safe group info functions with dynamic buffers
...
Provides getgrgid, getgrnam, getpwuid & getpwnam replacements that are
thread safe (a la getgrgid_r() and friends) that internally
handle allocating big-enough buffers to avoid ERANGE errors
on large users or groups.
2009-08-22 00:53:39 +02:00
Wim Taymans
25724cdd40
Get rid of liboil
...
Get rid of the liboil dependency and reimplement the liboil functions with an
equivalent C implementation. Note that most of these functions are deprecated in
liboil and that none of them had any optimisations. We can further specialize
our handrolled versions for some extra speedups.
2009-08-20 11:31:03 +02:00
Lennart Poettering
a69b729414
voltest: extend test to verify correctness of _multiply() and _divide()
2009-08-19 01:02:32 +02:00
Lennart Poettering
0f2a4ed422
volume: guarantee dB/linear conversion is reversible
2009-08-14 20:03:30 +02:00
Lennart Poettering
9bd3398f94
mix-test: fix test for s24-32 samples
2009-08-08 04:30:42 +02:00
Lennart Poettering
49fd8ee72e
core-util: replace remaining fixed size destination string functions by _malloc() versions
...
This helps portability to GNU/Hurd.
Patch originally from Samuel Thibault but modified.
Closes ticket #546
2009-08-01 02:03:22 +02:00
Lennart Poettering
59659e1db6
interpol-test: allow configuration of latency
2009-07-24 20:22:19 +02:00
Lennart Poettering
88d5749f6a
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
...
Conflicts:
src/daemon/main.c
2009-07-23 15:18:06 +02:00
Lennart Poettering
a2b207e38a
daemon: before exec'ing ourselves, make sure nobody plays games with /proc/self/exe
2009-07-20 15:48:36 +01:00
Diego Elio 'Flameeyes' Pettenò
542607f4c6
Make the rtstutter tests mostly pointless without CLOCK_REALTIME.
...
On the other hand, this actually makes the test build, and test at least
that it doesn't abort away, when the CLOCK_REALTIME interface is not
present (or when clock_gettime is not found).
2009-07-17 21:03:22 +02:00
Diego Elio 'Flameeyes' Pettenò
ad4e025ef5
Implement mix-test for s24le and s24be sample formats.
2009-06-29 17:40:42 +02:00
Diego Elio 'Flameeyes' Pettenò
595f80fef7
Use static constants to keep the generated sample blocks.
2009-06-29 17:40:35 +02:00
Diego Elio 'Flameeyes' Pettenò
080f6308f2
Ignore IPv6 tests, if IPv6 was built in but the system doesn't have it.
...
This removes a test failure when an IPv6-enabled PulseAudio is tested on a
system where IPv6 is not enabled in kernel.
2009-06-29 17:40:28 +02:00
Lennart Poettering
3ee29004a9
rtclock: fix build after merge
2009-06-22 23:15:01 +02:00
Lennart Poettering
fc33f7ee97
Merge most of elmarco/rtclock2
...
Merge commit 'e4d914c945 '
2009-06-22 23:09:46 +02:00
Marc-André Lureau
e4d914c945
rtclock: fix issues found by Lennart
2009-06-20 17:29:34 +03:00
Marc-André Lureau
0955e3d45b
Base mainloop on pa_rtclock_now()
...
Move the mainloop to monotonic based time events.
Introduces 4 helper functions:
pa_{context,core}_rttime_{new,restart}(), that fill correctly a
timeval with the rtclock flag set if the mainloop supports it.
Both mainloop-test and mainloop-test-glib works with rt and timeval
based time events. PulseAudio and clients should be fully functional.
This patch has received several iterations, and this one as been
largely untested.
Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
2009-06-20 17:29:31 +03:00
Lennart Poettering
32e2cd6d32
core: get rid of rt sig/timer handling since modern Linux' ppooll() is finally fixed for granularity
2009-06-19 21:00:06 +02:00
Lennart Poettering
ab5adce7a0
rtstutter: increase log level by default
2009-06-07 23:24:02 +02:00
Lennart Poettering
19d7ced40d
modargs: introduce pa_modargs_get_proplist()
2009-05-27 23:18:17 +02:00
Lennart Poettering
ce3fbb5268
tests: show dB in volume-ui.py
2009-05-22 01:31:26 +02:00
Lennart Poettering
5caf09d4ea
resampler-test: add tests for 24bit sample formats
2009-05-01 04:18:21 +02:00
Lennart Poettering
76caa270ce
resampler-test: use global PA_FLOAT32_SWAP implementation
2009-05-01 04:17:34 +02:00
Lennart Poettering
928adf412f
memtrap: make installation of SIGBUS handler explicit to ease integration into libraries
2009-04-21 22:54:44 +02:00
Lennart Poettering
6224fac921
memtrap: add new logic to trap and handle SIGBUS
2009-04-21 21:33:32 +02:00
Lennart Poettering
ca9cd14659
add a few missing initializations
2009-04-14 01:23:07 +02:00
Lennart Poettering
40d71e1f49
explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute
2009-04-14 01:22:42 +02:00
Lennart Poettering
f65b276db3
interpol-test: make it easier to test corking only optionally
2009-04-10 01:11:26 +02:00
Lennart Poettering
4ff41ecbb0
print smallest attenuation/sample
2009-04-08 03:47:18 +02:00
Lennart Poettering
923c5bc5bf
make it easy to disable interpolation in the interpolation test tool
2009-04-05 03:04:22 +02:00
Lennart Poettering
d035f4a3f3
Modify smoothing code to make cubic interpolation optional and allow 'quick fixups' on resuming
...
The primary reason for this change is to allow time graphs that do not
go through the origin and hence smoothing starting from the origin is
not desired. This change will allow passing time data into the smoother
while paused and then abruptly use that data without smoothing using the
'quick fixup' flag when resuming.
Primary use case is allowing recording time graphs where the data
recorded originates from a time before the stream was created. The
resulting graft will be shifted and should not be smoothened to go
through the origin.
2009-04-05 02:26:02 +02:00
Lennart Poettering
1c26d7e174
plot the difference between system and sound card time
2009-04-01 23:05:43 +02:00
Lennart Poettering
373b5efe51
properly account for seeks in the requested_bytes counter
2009-04-01 23:05:09 +02:00
Marc-André Lureau
8491b47a51
gtk-test: updated to use PA_CONTEXT_NOAUTOSPAWN|PA_CONTEXT_NOFAIL
2009-03-30 21:05:35 +03:00
Lennart Poettering
9d29b96ac0
make interpol test more interesting by corking/uncorking multiple times
2009-03-05 04:32:16 +01:00
Colin Guthrie
86dee05aec
Use LGPL 2.1 on all files previously using LGPL 2
2009-03-03 20:23:02 +00:00
Lennart Poettering
e335b3d6ca
prepare test for tracking down ens1371 issue
2009-02-22 03:55:54 +01:00
Lennart Poettering
77779ead6d
rework logging to make it more modular
2009-02-21 22:45:56 +01:00
Lennart Poettering
4c3648aea3
tell gcc to ignore invalid gtk header files
2009-02-21 04:12:52 +01:00
Lennart Poettering
7bc1847596
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-02-20 03:21:46 +01:00
Lennart Poettering
fa2e07a0bd
add test tool for debugging broken timing in sound drivers
2009-02-20 03:19:33 +01:00
Marc-André Lureau
60d53c6523
tests/ipacl-test: check inet_pton()
2009-02-19 04:56:26 +01:00
Marc-André Lureau
25bbea6749
tests/thread-mainloop-test: check if threaded_mainloop_start() succeed
2009-02-19 04:54:05 +01:00
Marc-André Lureau
5ea7dac11c
tests/interpol-test: check if mainloop_start() succeed
2009-02-19 04:53:52 +01:00
Marc-André Lureau
a836927495
tests/sync-playback: check if pa_context_connect succeed
2009-02-19 04:53:41 +01:00
Lennart Poettering
45218aa226
make interpol-test useful for recording as well
2009-02-19 03:59:56 +01:00
Iain Hibbert
dc590c7d0a
Optionally disable IPv6
...
Closes #79
2009-02-13 21:58:09 +01:00