Tanu Kaskinen
c266595058
Merge branch 'master' into dbus-work
2009-06-29 18:55:12 +03:00
Diego Elio 'Flameeyes' Pettenò
1ca7603109
Add missing headers includes for FreeBSD.
...
This removes the implicit declarations of send() and pthread_sigmask().
2009-06-29 17:42:07 +02:00
Diego Elio 'Flameeyes' Pettenò
bce211e416
Rename the flock variable to f_lock.
...
flock() is a function on FreeBSD, and the variable shadowed its definition.
2009-06-29 17:41:57 +02:00
Diego Elio 'Flameeyes' Pettenò
6f44792806
Only declare saved_errno when it's going to be used (on Linux).
2009-06-29 17:41:45 +02:00
Diego Elio 'Flameeyes' Pettenò
9a2ac32dcd
Rename the wait parameter to wait_op, to avoid shadowing wait().
2009-06-29 17:41:37 +02:00
Diego Elio 'Flameeyes' Pettenò
2266a39bd3
Remove the call for pa_rtpoll_install() in the Solaris module.
...
I hope this is enough, since the removal of the other pa_rtpoll_install()
calls deemed Linux good enough, but said nothing about Solaris, but since
the function is gone there is little more to do.
2009-06-29 17:41:27 +02:00
Diego Elio 'Flameeyes' Pettenò
24564afc43
Fix the moved rtclock.h header in the Solaris module.
2009-06-29 17:41:18 +02:00
Diego Elio 'Flameeyes' Pettenò
de40e41446
Also alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD.
2009-06-29 17:41:06 +02:00
Diego Elio 'Flameeyes' Pettenò
2f7bce9375
Add a missing sys/stat.h include for FreeBSD to declare umask().
2009-06-29 17:40:56 +02:00
Diego Elio 'Flameeyes' Pettenò
fc649adf9d
Don't try to compile the rtkit sources when dbus is not enabled.
...
This change only affects the buildsystem: source code was correct already.
2009-06-29 17:40:50 +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
Diego Elio 'Flameeyes' Pettenò
cd375da1db
Use the new CC_CHECK_CFLAGS_APPEND macro instead of a manual for.
2009-06-29 17:40:19 +02:00
Diego Elio 'Flameeyes' Pettenò
e7c3a12a6e
Properly link module-zeroconf-publish against libnative-protocol.
...
Without this change, undefined symbols will be found in the module and the
link will be rejected (thanks to the just-made change to reject outstanding
undefined symbols).
Also, in -test1, without this change it would have caused the module to not
load because of missing symbols.
2009-06-29 17:40:09 +02:00
Diego Elio 'Flameeyes' Pettenò
a4703ce7e8
Check for and use flags to reject undefined symbols in libraries.
...
Make sure that all the PulseAudio modules are built properly without
outstanding undefined symbols: if the undefined symbols are found, reject
link.
2009-06-29 17:40:01 +02:00
Diego Elio 'Flameeyes' Pettenò
e61795ce53
Update attributes.m4 file from xine-lib.
2009-06-29 17:39:47 +02:00
Diego Elio 'Flameeyes' Pettenò
e832383197
Make it more clear that PulseAudio needs libtool 2.2.
...
The error message was way too generic, as it was very possible that libltdl
_is_ in the system but is not found because too old. Disambiguate this by
explicitly stating that the version 2 of the library is not found.
2009-06-29 17:39:32 +02:00
Tanu Kaskinen
0bc538b08c
Merge branch 'master' into dbus-work
...
Conflicts:
src/daemon/daemon-conf.c
src/daemon/daemon-conf.h
src/daemon/main.c
src/pulsecore/dbus-util.h
2009-06-29 18:35:06 +03:00
Lennart Poettering
2654eb7781
sndfile: fix build on BE archs
2009-06-23 18:54:17 +02:00
Lennart Poettering
0b52bf4cd1
build-sys: don't make pulseaudio binary suid on install anymore
2009-06-23 18:33:36 +02:00
Lennart Poettering
390c275173
build-sys: properly drop '-' from major/minor/micro strings
2009-06-23 17:40:33 +02:00
Lennart Poettering
b4b1f0375c
build-sys: teacch git versioning script to not kill - in version strings
2009-06-23 17:13:29 +02:00
Lennart Poettering
5651c03920
build-sys: drop compat with old git versions so that tarballs for -test1 style evrsions are properly created
2009-06-23 16:27:38 +02:00
Lennart Poettering
5b78752a04
intended-roles: drop quite a few unnecessary includes
2009-06-23 16:09:32 +02:00
Lennart Poettering
ef85558abd
modules: pass properly initialized userdata pointers to various hooks
2009-06-23 04:25:45 +02:00
Lennart Poettering
b6d0b0e808
intended-roles: properly initialize split state
2009-06-23 04:23:26 +02:00
Lennart Poettering
d965000982
rtclock: make use of constants when converting between nsec and usec
2009-06-23 03:55:32 +02:00
Lennart Poettering
b627d68721
intended-roles: fix symdef header inclusion
2009-06-23 03:35:34 +02:00
Lennart Poettering
bcae7969db
build-sys: use pax tar format to allow longer file names
2009-06-23 01:36:29 +02:00
Lennart Poettering
da6b15671a
builds-sys: work around automake 1.11 borkage
...
As suggested on:
http://lists.gnu.org/archive/html/automake/2009-06/msg00059.html
2009-06-23 00:55:31 +02:00
Lennart Poettering
38e3d83122
build-sys: bump udev revision to pull in new rules files
2009-06-23 00:55:24 +02:00
Lennart Poettering
882cdfc123
rtclock: fix type of PA_TIMEVAL_RTCLOCK
2009-06-23 00:17:26 +02:00
Lennart Poettering
9217b47b19
timeval: don't create the wrong illusion that nsecs should be stored in pa_usec_t
2009-06-23 00:16:42 +02:00
Lennart Poettering
f3bbbd0fd3
rtclock: document that we fallback to wallclock time if monotonic time is not supported
2009-06-23 00:15:57 +02:00
Lennart Poettering
f753ef2a23
rtclock: enable rtclock for our own mainloop implementations
2009-06-22 23:49:40 +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
Lennart Poettering
048e576a6d
build-sys: dropo shave support, depend on automake's new silent build support instead
2009-06-22 23:03:43 +02:00
Lennart Poettering
de5219aafb
daemon: enable module-intended-roles by default
2009-06-22 22:44:29 +02:00
Lennart Poettering
374efbded4
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-06-22 22:36:31 +02:00
Lennart Poettering
aa2570c2ba
rescue: make sure module-rescue-streams is used only as last fallback
2009-06-22 22:36:23 +02:00
Lennart Poettering
60d36c7e74
module-stream-restore: recheck stream database on hotplug/unplug and potentially move streams
2009-06-22 22:35:55 +02:00
Lennart Poettering
27af46045b
modules: add module-intended-roles that automatically puts streams marked with a role on devices that are intended for that role
2009-06-22 22:34:57 +02:00
Lennart Poettering
c4d90ea986
restore: change 'save' flag behaviour to reflect whether an entry shall and/or is in the on-disk databases
2009-06-22 22:33:09 +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
Marc-André Lureau
125c528896
pulse: move pa_rtclock_now in pulsecommon
2009-06-20 17:29:08 +03:00
Tanu Kaskinen
b152f3a052
module-dbus-protocol: Allow anyone to connect the daemon in system mode.
2009-06-20 10:17:46 +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