Colin Guthrie [Sat, 27 Jun 2009 11:29:40 +0000 (12:29 +0100)]
udev: Don't install the udev rules if we're not compiling udev support
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 10:39:09 +0000 (12:39 +0200)]
Add missing headers includes for FreeBSD.
This removes the implicit declarations of send() and pthread_sigmask().
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 10:28:16 +0000 (12:28 +0200)]
Rename the flock variable to f_lock.
flock() is a function on FreeBSD, and the variable shadowed its definition.
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 10:07:12 +0000 (12:07 +0200)]
Only declare saved_errno when it's going to be used (on Linux).
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 09:50:10 +0000 (11:50 +0200)]
Rename the wait parameter to wait_op, to avoid shadowing wait().
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 09:47:44 +0000 (11:47 +0200)]
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.
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 09:47:23 +0000 (11:47 +0200)]
Fix the moved rtclock.h header in the Solaris module.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 20:08:41 +0000 (22:08 +0200)]
Also alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 20:01:55 +0000 (22:01 +0200)]
Add a missing sys/stat.h include for FreeBSD to declare umask().
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 19:49:45 +0000 (21:49 +0200)]
Don't try to compile the rtkit sources when dbus is not enabled.
This change only affects the buildsystem: source code was correct already.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 16:24:45 +0000 (18:24 +0200)]
Implement mix-test for s24le and s24be sample formats.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 16:23:14 +0000 (18:23 +0200)]
Use static constants to keep the generated sample blocks.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 16:03:40 +0000 (18:03 +0200)]
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.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 15:45:58 +0000 (17:45 +0200)]
Use the new CC_CHECK_CFLAGS_APPEND macro instead of a manual for.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 15:40:43 +0000 (17:40 +0200)]
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.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 15:39:25 +0000 (17:39 +0200)]
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.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 15:32:28 +0000 (17:32 +0200)]
Update attributes.m4 file from xine-lib.
Diego Elio 'Flameeyes' Pettenò [Sat, 13 Jun 2009 15:27:42 +0000 (17:27 +0200)]
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.
Lennart Poettering [Tue, 23 Jun 2009 16:54:17 +0000 (18:54 +0200)]
sndfile: fix build on BE archs
Lennart Poettering [Tue, 23 Jun 2009 16:33:36 +0000 (18:33 +0200)]
build-sys: don't make pulseaudio binary suid on install anymore
Lennart Poettering [Tue, 23 Jun 2009 15:40:33 +0000 (17:40 +0200)]
build-sys: properly drop '-' from major/minor/micro strings
Lennart Poettering [Tue, 23 Jun 2009 15:13:29 +0000 (17:13 +0200)]
build-sys: teacch git versioning script to not kill - in version strings
Lennart Poettering [Tue, 23 Jun 2009 14:27:38 +0000 (16:27 +0200)]
build-sys: drop compat with old git versions so that tarballs for -test1 style evrsions are properly created
Lennart Poettering [Tue, 23 Jun 2009 14:09:32 +0000 (16:09 +0200)]
intended-roles: drop quite a few unnecessary includes
Lennart Poettering [Tue, 23 Jun 2009 02:25:45 +0000 (04:25 +0200)]
modules: pass properly initialized userdata pointers to various hooks
Lennart Poettering [Tue, 23 Jun 2009 02:23:26 +0000 (04:23 +0200)]
intended-roles: properly initialize split state
Lennart Poettering [Tue, 23 Jun 2009 01:55:32 +0000 (03:55 +0200)]
rtclock: make use of constants when converting between nsec and usec
Lennart Poettering [Tue, 23 Jun 2009 01:35:34 +0000 (03:35 +0200)]
intended-roles: fix symdef header inclusion
Lennart Poettering [Mon, 22 Jun 2009 23:36:29 +0000 (01:36 +0200)]
build-sys: use pax tar format to allow longer file names
Lennart Poettering [Mon, 22 Jun 2009 22:55:31 +0000 (00:55 +0200)]
builds-sys: work around automake 1.11 borkage
As suggested on:
http://lists.gnu.org/archive/html/automake/2009-06/msg00059.html
Lennart Poettering [Mon, 22 Jun 2009 22:55:24 +0000 (00:55 +0200)]
build-sys: bump udev revision to pull in new rules files
Lennart Poettering [Mon, 22 Jun 2009 22:17:26 +0000 (00:17 +0200)]
rtclock: fix type of PA_TIMEVAL_RTCLOCK
Lennart Poettering [Mon, 22 Jun 2009 22:16:42 +0000 (00:16 +0200)]
timeval: don't create the wrong illusion that nsecs should be stored in pa_usec_t
Lennart Poettering [Mon, 22 Jun 2009 22:15:57 +0000 (00:15 +0200)]
rtclock: document that we fallback to wallclock time if monotonic time is not supported
Lennart Poettering [Mon, 22 Jun 2009 21:49:40 +0000 (23:49 +0200)]
rtclock: enable rtclock for our own mainloop implementations
Lennart Poettering [Mon, 22 Jun 2009 21:15:01 +0000 (23:15 +0200)]
rtclock: fix build after merge
Lennart Poettering [Mon, 22 Jun 2009 21:09:46 +0000 (23:09 +0200)]
Merge most of elmarco/rtclock2
Merge commit '
e4d914c945c13d23b131d7ba75fbdd03cb6d0043'
Lennart Poettering [Mon, 22 Jun 2009 21:03:43 +0000 (23:03 +0200)]
build-sys: dropo shave support, depend on automake's new silent build support instead
Lennart Poettering [Mon, 22 Jun 2009 20:44:29 +0000 (22:44 +0200)]
daemon: enable module-intended-roles by default
Lennart Poettering [Mon, 22 Jun 2009 20:36:31 +0000 (22:36 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Mon, 22 Jun 2009 20:36:23 +0000 (22:36 +0200)]
rescue: make sure module-rescue-streams is used only as last fallback
Lennart Poettering [Mon, 22 Jun 2009 20:35:55 +0000 (22:35 +0200)]
module-stream-restore: recheck stream database on hotplug/unplug and potentially move streams
Lennart Poettering [Mon, 22 Jun 2009 20:34:57 +0000 (22:34 +0200)]
modules: add module-intended-roles that automatically puts streams marked with a role on devices that are intended for that role
Lennart Poettering [Mon, 22 Jun 2009 20:33:09 +0000 (22:33 +0200)]
restore: change 'save' flag behaviour to reflect whether an entry shall and/or is in the on-disk databases
Marc-André Lureau [Sat, 20 Jun 2009 13:52:41 +0000 (16:52 +0300)]
rtclock: fix issues found by Lennart
Marc-André Lureau [Sat, 4 Apr 2009 23:13:43 +0000 (02:13 +0300)]
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>
Marc-André Lureau [Sat, 4 Apr 2009 20:19:53 +0000 (23:19 +0300)]
pulse: move pa_rtclock_now in pulsecommon
Lennart Poettering [Fri, 19 Jun 2009 19:00:06 +0000 (21:00 +0200)]
core: get rid of rt sig/timer handling since modern Linux' ppooll() is finally fixed for granularity
Lennart Poettering [Fri, 19 Jun 2009 16:21:35 +0000 (18:21 +0200)]
daemon: enable real-time by default
Lennart Poettering [Fri, 19 Jun 2009 16:18:49 +0000 (18:18 +0200)]
mergo
Marc-André Lureau [Sat, 4 Apr 2009 19:56:38 +0000 (22:56 +0300)]
perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'`
Lennart Poettering [Fri, 19 Jun 2009 15:37:18 +0000 (17:37 +0200)]
daemon: strip all special suid/caps log from our startup code, we'll now rely on RealtimeKit for all high-priority/RT scheduling policy issues
Lennart Poettering [Fri, 19 Jun 2009 02:45:19 +0000 (04:45 +0200)]
core: use rtkit to acquire high-priority scheduling
Lennart Poettering [Fri, 19 Jun 2009 02:19:08 +0000 (04:19 +0200)]
core: ask RealtimeKit for RT scheduling
Lennart Poettering [Fri, 19 Jun 2009 00:03:03 +0000 (02:03 +0200)]
alsa: synthesize volume values more sensibly for channels that are not controllable in hw
Lennart Poettering [Thu, 18 Jun 2009 23:55:59 +0000 (01:55 +0200)]
alsa: document alsa mixer path/profile sets a bit more
Lennart Poettering [Thu, 18 Jun 2009 23:30:24 +0000 (01:30 +0200)]
alsa: add copyright blobs and comments to all mixer paths/profile sets
Lennart Poettering [Thu, 18 Jun 2009 21:03:28 +0000 (23:03 +0200)]
alsa: move udev rules file behind the other sound related rules
Lennart Poettering [Thu, 18 Jun 2009 21:01:24 +0000 (23:01 +0200)]
alsa: move mixer config files to subdir in /usr/share
Lennart Poettering [Thu, 18 Jun 2009 21:00:53 +0000 (23:00 +0200)]
alsa: document default profile set a bit better
Lennart Poettering [Thu, 18 Jun 2009 20:58:58 +0000 (22:58 +0200)]
alsa: add profile set for Native Instruments 4 DJ
Lennart Poettering [Thu, 18 Jun 2009 19:27:02 +0000 (21:27 +0200)]
alsa: unify alsa log handling and snd_config_update_free_global() handling in one place
Lennart Poettering [Thu, 18 Jun 2009 13:50:41 +0000 (15:50 +0200)]
alsa: merge mic boost into volume slider
Lennart Poettering [Thu, 18 Jun 2009 02:38:59 +0000 (04:38 +0200)]
alsa,core: include mapping name in description strings
Lennart Poettering [Thu, 18 Jun 2009 01:58:05 +0000 (03:58 +0200)]
alsa: add profile set for Native Instruments Audio 8 DJ sound card
Lennart Poettering [Thu, 18 Jun 2009 01:43:51 +0000 (03:43 +0200)]
alsa: properly count mappings of manually defined profiles
Lennart Poettering [Thu, 18 Jun 2009 01:43:22 +0000 (03:43 +0200)]
alsa: fix duplicate mapping detection
Lennart Poettering [Thu, 18 Jun 2009 01:42:39 +0000 (03:42 +0200)]
alsa: when creating alsa sinks/sources include mapping name in device name to allow profiles mit multiple sinks or multiple sources
Lennart Poettering [Thu, 18 Jun 2009 01:41:49 +0000 (03:41 +0200)]
device-restore: properly check save_muted flag when storing muted state
Lennart Poettering [Thu, 18 Jun 2009 01:40:47 +0000 (03:40 +0200)]
core: be a bit more verbose when registering a sink/source fails
Lennart Poettering [Wed, 17 Jun 2009 22:59:33 +0000 (00:59 +0200)]
card,stream-restore: minor cleanups
Lennart Poettering [Wed, 17 Jun 2009 22:59:04 +0000 (00:59 +0200)]
device-restore: save last used port in database
Lennart Poettering [Wed, 17 Jun 2009 22:58:19 +0000 (00:58 +0200)]
card-restore: we don't need to save card data that came from the database
Lennart Poettering [Wed, 17 Jun 2009 22:56:46 +0000 (00:56 +0200)]
stream-restore: e don't need to save stream data that came from the database
Lennart Poettering [Wed, 17 Jun 2009 21:43:23 +0000 (23:43 +0200)]
i18n: update i18n
Lennart Poettering [Wed, 17 Jun 2009 21:41:46 +0000 (23:41 +0200)]
Merge commit 'origin/master-tx'
Lennart Poettering [Wed, 17 Jun 2009 21:40:46 +0000 (23:40 +0200)]
pactl: show list of supported ports
Lennart Poettering [Wed, 17 Jun 2009 21:17:37 +0000 (23:17 +0200)]
native-protocol: allow enumerating ports
Lennart Poettering [Wed, 17 Jun 2009 13:09:28 +0000 (15:09 +0200)]
raop: move all raop files to subdir
Lennart Poettering [Wed, 17 Jun 2009 02:54:39 +0000 (04:54 +0200)]
pactl: implement pactl set-{sink|source}-port
Lennart Poettering [Wed, 17 Jun 2009 02:54:11 +0000 (04:54 +0200)]
libpulse: implement client side for sink/source port selection commands
Lennart Poettering [Wed, 17 Jun 2009 02:52:41 +0000 (04:52 +0200)]
native: implement command to change sink/source port
Lennart Poettering [Wed, 17 Jun 2009 02:51:57 +0000 (04:51 +0200)]
bluetooth: return sensible error code in set_profile()
Lennart Poettering [Wed, 17 Jun 2009 02:17:25 +0000 (04:17 +0200)]
alsa: allow placing device id in alsa device strings at arbitrary positions
Lennart Poettering [Wed, 17 Jun 2009 01:45:14 +0000 (03:45 +0200)]
alsa: rework mixer logic
Completely rework mixer logic. This now allows controlling a full set of
elements from a single sink's volume slider/mute button.
This also introduces sink and source "ports" that can be used to choose
different input or output ports with the UI. (i.e. "mic"/"line-in" or
"speaker"/"headphones".
The mixer paths and device maps are now configered in external
configuration files and can be tweaked as necessary.
Lennart Poettering [Wed, 17 Jun 2009 01:18:14 +0000 (03:18 +0200)]
pdispatch: fix s/recieve/receive/ typos
Lennart Poettering [Wed, 17 Jun 2009 01:17:23 +0000 (03:17 +0200)]
pstream: fix s/recieve/receive/ typos
Lennart Poettering [Wed, 17 Jun 2009 01:16:48 +0000 (03:16 +0200)]
gdbm: set default block size to 1K
Lennart Poettering [Wed, 17 Jun 2009 01:16:13 +0000 (03:16 +0200)]
card: get rid of description field which is unused
Lennart Poettering [Wed, 17 Jun 2009 01:15:56 +0000 (03:15 +0200)]
card: make sure to always hand failure code back in some calls
Lennart Poettering [Wed, 17 Jun 2009 01:15:36 +0000 (03:15 +0200)]
card: some modernizations
Lennart Poettering [Wed, 17 Jun 2009 01:14:26 +0000 (03:14 +0200)]
rtp: fix s/recieve/receive/ typo
Lennart Poettering [Wed, 17 Jun 2009 01:13:59 +0000 (03:13 +0200)]
core-util: implement pa_maybe_prefix_path()
Lennart Poettering [Wed, 17 Jun 2009 01:13:32 +0000 (03:13 +0200)]
core-util: implement pa_split_spaces_strv()
Lennart Poettering [Wed, 17 Jun 2009 01:13:01 +0000 (03:13 +0200)]
core-util: implement pa_xstrfreev()
Lennart Poettering [Wed, 17 Jun 2009 01:11:47 +0000 (03:11 +0200)]
conf-parse: implement .include directive
Lennart Poettering [Wed, 17 Jun 2009 01:09:28 +0000 (03:09 +0200)]
volume,channelmap: reimplement a couple of calls based on channel masks
Lennart Poettering [Wed, 17 Jun 2009 01:08:34 +0000 (03:08 +0200)]
channelmap: define a couple of standard channel masks
Lennart Poettering [Wed, 17 Jun 2009 01:07:42 +0000 (03:07 +0200)]
malloc: implement pa_xrenew()
Lennart Poettering [Wed, 17 Jun 2009 01:06:54 +0000 (03:06 +0200)]
channelmap: make sure a mask is generated is 64 bit int