Lennart Poettering [Wed, 22 Jul 2009 20:47:51 +0000 (22:47 +0200)]
daemon: reset personality, to make the autospawn env cleaup complete
Lennart Poettering [Wed, 22 Jul 2009 20:38:38 +0000 (22:38 +0200)]
alsa: deal properly with IO functions asking us to write 0 bytes
Lennart Poettering [Wed, 1 Jul 2009 19:11:19 +0000 (21:11 +0200)]
stream-restore: mark volume changes from instant apply as saved ones
Marc-André Lureau [Mon, 29 Jun 2009 14:46:30 +0000 (17:46 +0300)]
bluetooth: don't connect on unconnected profile
Marc-André Lureau [Wed, 1 Jul 2009 10:11:33 +0000 (13:11 +0300)]
bluetooth: warn on EAGAIN after POLLOUT
Lennart Poettering [Wed, 1 Jul 2009 18:22:38 +0000 (20:22 +0200)]
memtrap: properly lock access to memtrap changer
Lennart Poettering [Wed, 1 Jul 2009 18:20:55 +0000 (20:20 +0200)]
memblock: rearrange locking order
Lennart Poettering [Wed, 1 Jul 2009 18:20:36 +0000 (20:20 +0200)]
reserve: update from upstream git repo
Lennart Poettering [Wed, 1 Jul 2009 18:20:06 +0000 (20:20 +0200)]
alsa: fix a few comments
Lennart Poettering [Wed, 1 Jul 2009 18:19:42 +0000 (20:19 +0200)]
build-sys: add missing dependency to libcli
Lennart Poettering [Wed, 1 Jul 2009 12:26:07 +0000 (14:26 +0200)]
libpulse: minor cleanups
Lennart Poettering [Wed, 1 Jul 2009 12:25:13 +0000 (14:25 +0200)]
native: don't hit assert when user uploads zero-sized sample
Lennart Poettering [Wed, 1 Jul 2009 00:21:17 +0000 (02:21 +0200)]
bluetooth: don't busy loop when device is not writable but we want to write
Lennart Poettering [Wed, 1 Jul 2009 00:20:23 +0000 (02:20 +0200)]
bluetooth: handle absence of bluez D-Bus service properly
Lennart Poettering [Tue, 30 Jun 2009 19:13:09 +0000 (21:13 +0200)]
reserve: fix build without D-Bus
Colin Guthrie [Sun, 28 Jun 2009 11:56:57 +0000 (12:56 +0100)]
bootstrap: Ship git-version-gen with the tarball.
bootstrap.sh is already shipped and when rebootstrapping, it will call git-version-gen
internally when processing configure.ac.
In order to know when someone has rebootstrapped, we modify the tarball version to mark it
as rebootstrapped. Not 100% sure this later stage is desired or if we should remove
the .tarball-version file instead.
Colin Guthrie [Sun, 28 Jun 2009 10:56:36 +0000 (11:56 +0100)]
introspect: Fix a bug in sink/source info protocol handling related to ports.
Previously the active_profile was extracted from the tagstruct regardless of
the protocol version which caused errors while speaking to older version
servers.
Colin Guthrie [Sat, 27 Jun 2009 18:51:31 +0000 (19:51 +0100)]
combine: Do not set (and update) description if the user passed one in during load.
Note that this will not turn off auto-description setting if the user were to
update the proplist later, so such a change could be short lived.
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