Tanu Kaskinen [Sun, 9 Aug 2009 05:37:33 +0000 (08:37 +0300)]
dbus: Three entangled changes:
* Make the dbus object constructors take a pa_dbusiface_core pointer
as an argument. Remove the path_prefix argument.
* Expose the core object path as a constant in protocol-dbus.h.
* Move the core interface name constant from iface-core.h to
protocol-dbus.h.
Tanu Kaskinen [Sun, 9 Aug 2009 04:59:06 +0000 (07:59 +0300)]
proplist: New function: pa_proplist_equal()
Tanu Kaskinen [Tue, 4 Aug 2009 15:01:26 +0000 (18:01 +0300)]
dbusiface-memstats: Implement the Memstats D-Bus interface.
Tanu Kaskinen [Tue, 4 Aug 2009 15:00:08 +0000 (18:00 +0300)]
dbus-protocol: Remove erroneous protocol object unref.
Tanu Kaskinen [Tue, 4 Aug 2009 14:57:44 +0000 (17:57 +0300)]
dbus-protocol: Make debug logging saner.
Tanu Kaskinen [Tue, 4 Aug 2009 14:55:10 +0000 (17:55 +0300)]
dbus-protocol, dbusiface-core: Take a reference when storing the core pointer.
Tanu Kaskinen [Tue, 4 Aug 2009 14:50:18 +0000 (17:50 +0300)]
dbusiface-core: Make the interface string a public constant.
Tanu Kaskinen [Mon, 3 Aug 2009 16:38:02 +0000 (19:38 +0300)]
stream-restore: Expose module to D-Bus.
Tanu Kaskinen [Mon, 3 Aug 2009 16:36:19 +0000 (19:36 +0300)]
dbus-util: Fix broken proplist reading logic.
Tanu Kaskinen [Sun, 2 Aug 2009 08:12:21 +0000 (11:12 +0300)]
dbus-protocol: Add debugging output (temporary change).
Tanu Kaskinen [Sat, 1 Aug 2009 05:26:51 +0000 (08:26 +0300)]
dbusiface-core: Don't die if we get a default sink/source change event before the new default device is actually created.
Tanu Kaskinen [Fri, 31 Jul 2009 09:06:53 +0000 (12:06 +0300)]
dbusiface-core: Send signals whenever extensions are registered and unregistered.
Tanu Kaskinen [Fri, 31 Jul 2009 09:05:49 +0000 (12:05 +0300)]
dbus-protocol: Implement extension registration.
Tanu Kaskinen [Thu, 30 Jul 2009 10:11:32 +0000 (13:11 +0300)]
dbus/iface-core.c: Make sure D-Bus objects are created only once.
Tanu Kaskinen [Mon, 27 Jul 2009 17:01:39 +0000 (20:01 +0300)]
Bug fixing and minor cleanups.
Tanu Kaskinen [Mon, 20 Jul 2009 21:04:52 +0000 (00:04 +0300)]
Add the forgotten src/modules/dbus directory to git.
Tanu Kaskinen [Mon, 20 Jul 2009 21:02:27 +0000 (00:02 +0300)]
Finish the Core dbus interface.
Tanu Kaskinen [Thu, 2 Jul 2009 23:49:07 +0000 (02:49 +0300)]
dbus: Implement the Name property of the core object.
Tanu Kaskinen [Tue, 30 Jun 2009 12:21:20 +0000 (15:21 +0300)]
server-lookup: Update the D-Bus identifiers to be versioned.
Tanu Kaskinen [Tue, 30 Jun 2009 12:18:11 +0000 (15:18 +0300)]
module-cli: Fix compilation by adding libpulsecommon to module_cli_la_LIBADD.
Tanu Kaskinen [Mon, 29 Jun 2009 15:55:12 +0000 (18:55 +0300)]
Merge branch 'master' into dbus-work
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.
Tanu Kaskinen [Mon, 29 Jun 2009 15:35:06 +0000 (18:35 +0300)]
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
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
Tanu Kaskinen [Sat, 20 Jun 2009 07:17:46 +0000 (10:17 +0300)]
module-dbus-protocol: Allow anyone to connect the daemon in system mode.
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
Tanu Kaskinen [Fri, 19 Jun 2009 12:17:57 +0000 (15:17 +0300)]
dbus-protocol: Implement TCP server startup.
Tanu Kaskinen [Fri, 19 Jun 2009 07:28:08 +0000 (10:28 +0300)]
dbus-common: Implement infrastructure for registering D-Bus objects on all
client connections and for receiving method calls from clients.
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'