Commit graph

132 commits

Author SHA1 Message Date
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
Lennart Poettering
e954a89d89 properly read icon/application name/display from gtk/glib/gdk 2009-02-13 18:19:10 +01:00
Lennart Poettering
a6fe991716 beef up proplist test a bit 2009-02-04 17:16:32 +01:00
Lennart Poettering
e7007fc680 allow passing of channel map on command line and hide unused sliders 2009-02-02 00:18:47 +01:00
Lennart Poettering
2c7f2c5e79 look for libpulse in multiple different places 2009-02-02 00:17:58 +01:00
Lennart Poettering
1c94cfe29f Add a little Gtk test tool to show how balance/fade/value and the channel volumes play together 2009-01-30 00:23:24 +01:00
Lennart Poettering
5449d793ae swap argument order of pa_cvolume_get_balance() to be a bit more systematic 2009-01-27 02:45:37 +01:00
Lennart Poettering
5cb29f3a60 add a simple abstraction for SIMD operations 2009-01-23 19:45:11 +01:00
Lennart Poettering
ddbe6126d3 use pthread_setaffinity_np() only when it is available 2009-01-22 22:50:03 +01:00
Lennart Poettering
cef5f48b50 make rtstutter use pa_ncpus() 2009-01-22 02:20:00 +01:00
Lennart Poettering
723d71a021 add api for manipulating volume balances 2009-01-19 21:45:58 +01:00
Marc-André Lureau
01f71ac7a1 libpulse: add proplist_from_string 2009-01-13 16:59:46 +02:00
Lennart Poettering
7a1a147881 rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is
useful only for software volumes
2008-10-03 22:21:27 +02:00
Lennart Poettering
619ed8a82d add new API call pa_cvolume_snprint_dB() 2008-10-03 17:42:38 +02:00