profile/ivi/pulseaudio.git
15 years agoudev: Don't install the udev rules if we're not compiling udev support
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

15 years agoAdd missing headers includes for FreeBSD.
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().

15 years agoRename the flock variable to f_lock.
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.

15 years agoOnly declare saved_errno when it's going to be used (on Linux).
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).

15 years agoRename the wait parameter to wait_op, to avoid shadowing wait().
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().

15 years agoRemove the call for pa_rtpoll_install() in the Solaris module.
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.

15 years agoFix the moved rtclock.h header in the Solaris module.
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.

15 years agoAlso alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD.
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.

15 years agoAdd a missing sys/stat.h include for FreeBSD to declare umask().
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().

15 years agoDon't try to compile the rtkit sources when dbus is not enabled.
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.

15 years agoImplement mix-test for s24le and s24be sample formats.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 16:24:45 +0000 (18:24 +0200)]
Implement mix-test for s24le and s24be sample formats.

15 years agoUse static constants to keep the generated sample blocks.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 16:23:14 +0000 (18:23 +0200)]
Use static constants to keep the generated sample blocks.

15 years agoIgnore IPv6 tests, if IPv6 was built in but the system doesn't have it.
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.

15 years agoUse the new CC_CHECK_CFLAGS_APPEND macro instead of a manual for.
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.

15 years agoProperly link module-zeroconf-publish against libnative-protocol.
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.

15 years agoCheck for and use flags to reject undefined symbols in libraries.
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.

15 years agoUpdate attributes.m4 file from xine-lib.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 15:32:28 +0000 (17:32 +0200)]
Update attributes.m4 file from xine-lib.

15 years agoMake it more clear that PulseAudio needs libtool 2.2.
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.

15 years agosndfile: fix build on BE archs
Lennart Poettering [Tue, 23 Jun 2009 16:54:17 +0000 (18:54 +0200)]
sndfile: fix build on BE archs

15 years agobuild-sys: don't make pulseaudio binary suid on install anymore
Lennart Poettering [Tue, 23 Jun 2009 16:33:36 +0000 (18:33 +0200)]
build-sys: don't make pulseaudio binary suid on install anymore

15 years agobuild-sys: properly drop '-' from major/minor/micro strings
Lennart Poettering [Tue, 23 Jun 2009 15:40:33 +0000 (17:40 +0200)]
build-sys: properly drop '-' from major/minor/micro strings

15 years agobuild-sys: teacch git versioning script to not kill - in version 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

15 years agobuild-sys: drop compat with old git versions so that tarballs for -test1 style evrsio...
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

15 years agointended-roles: drop quite a few unnecessary includes
Lennart Poettering [Tue, 23 Jun 2009 14:09:32 +0000 (16:09 +0200)]
intended-roles: drop quite a few unnecessary includes

15 years agomodules: pass properly initialized userdata pointers to various hooks
Lennart Poettering [Tue, 23 Jun 2009 02:25:45 +0000 (04:25 +0200)]
modules: pass properly initialized userdata pointers to various hooks

15 years agointended-roles: properly initialize split state
Lennart Poettering [Tue, 23 Jun 2009 02:23:26 +0000 (04:23 +0200)]
intended-roles: properly initialize split state

15 years agortclock: make use of constants when converting between nsec and usec
Lennart Poettering [Tue, 23 Jun 2009 01:55:32 +0000 (03:55 +0200)]
rtclock: make use of constants when converting between nsec and usec

15 years agointended-roles: fix symdef header inclusion
Lennart Poettering [Tue, 23 Jun 2009 01:35:34 +0000 (03:35 +0200)]
intended-roles: fix symdef header inclusion

15 years agobuild-sys: use pax tar format to allow longer file names
Lennart Poettering [Mon, 22 Jun 2009 23:36:29 +0000 (01:36 +0200)]
build-sys: use pax tar format to allow longer file names

15 years agobuilds-sys: work around automake 1.11 borkage
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

15 years agobuild-sys: bump udev revision to pull in new rules files
Lennart Poettering [Mon, 22 Jun 2009 22:55:24 +0000 (00:55 +0200)]
build-sys: bump udev revision to pull in new rules files

15 years agortclock: fix type of PA_TIMEVAL_RTCLOCK
Lennart Poettering [Mon, 22 Jun 2009 22:17:26 +0000 (00:17 +0200)]
rtclock: fix type of PA_TIMEVAL_RTCLOCK

15 years agotimeval: don't create the wrong illusion that nsecs should be stored in pa_usec_t
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

15 years agortclock: document that we fallback to wallclock time if monotonic time is not supported
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

15 years agortclock: enable rtclock for our own mainloop implementations
Lennart Poettering [Mon, 22 Jun 2009 21:49:40 +0000 (23:49 +0200)]
rtclock: enable rtclock for our own mainloop implementations

15 years agortclock: fix build after merge
Lennart Poettering [Mon, 22 Jun 2009 21:15:01 +0000 (23:15 +0200)]
rtclock: fix build after merge

15 years agoMerge most of elmarco/rtclock2
Lennart Poettering [Mon, 22 Jun 2009 21:09:46 +0000 (23:09 +0200)]
Merge most of elmarco/rtclock2

Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043'

15 years agobuild-sys: dropo shave support, depend on automake's new silent build support instead
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

15 years agodaemon: enable module-intended-roles by default
Lennart Poettering [Mon, 22 Jun 2009 20:44:29 +0000 (22:44 +0200)]
daemon: enable module-intended-roles by default

15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Mon, 22 Jun 2009 20:36:31 +0000 (22:36 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

15 years agorescue: make sure module-rescue-streams is used only as last fallback
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

15 years agomodule-stream-restore: recheck stream database on hotplug/unplug and potentially...
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

15 years agomodules: add module-intended-roles that automatically puts streams marked with a...
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

15 years agorestore: change 'save' flag behaviour to reflect whether an entry shall and/or is...
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

15 years agortclock: fix issues found by Lennart
Marc-André Lureau [Sat, 20 Jun 2009 13:52:41 +0000 (16:52 +0300)]
rtclock: fix issues found by Lennart

15 years agoBase mainloop on pa_rtclock_now()
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>
15 years agopulse: move pa_rtclock_now in pulsecommon
Marc-André Lureau [Sat, 4 Apr 2009 20:19:53 +0000 (23:19 +0300)]
pulse: move pa_rtclock_now in pulsecommon

15 years agocore: get rid of rt sig/timer handling since modern Linux' ppooll() is finally fixed...
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

15 years agodaemon: enable real-time by default
Lennart Poettering [Fri, 19 Jun 2009 16:21:35 +0000 (18:21 +0200)]
daemon: enable real-time by default

15 years agomergo
Lennart Poettering [Fri, 19 Jun 2009 16:18:49 +0000 (18:18 +0200)]
mergo

15 years agoperl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'`
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]'`

15 years agodaemon: strip all special suid/caps log from our startup code, we'll now rely on...
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

15 years agocore: use rtkit to acquire high-priority scheduling
Lennart Poettering [Fri, 19 Jun 2009 02:45:19 +0000 (04:45 +0200)]
core: use rtkit to acquire high-priority scheduling

15 years agocore: ask RealtimeKit for RT scheduling
Lennart Poettering [Fri, 19 Jun 2009 02:19:08 +0000 (04:19 +0200)]
core: ask RealtimeKit for RT scheduling

15 years agoalsa: synthesize volume values more sensibly for channels that are not controllable...
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

15 years agoalsa: document alsa mixer path/profile sets a bit more
Lennart Poettering [Thu, 18 Jun 2009 23:55:59 +0000 (01:55 +0200)]
alsa: document alsa mixer path/profile sets a bit more

15 years agoalsa: add copyright blobs and comments to all mixer paths/profile sets
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

15 years agoalsa: move udev rules file behind the other sound related rules
Lennart Poettering [Thu, 18 Jun 2009 21:03:28 +0000 (23:03 +0200)]
alsa: move udev rules file behind the other sound related rules

15 years agoalsa: move mixer config files to subdir in /usr/share
Lennart Poettering [Thu, 18 Jun 2009 21:01:24 +0000 (23:01 +0200)]
alsa: move mixer config files to subdir in /usr/share

15 years agoalsa: document default profile set a bit better
Lennart Poettering [Thu, 18 Jun 2009 21:00:53 +0000 (23:00 +0200)]
alsa: document default profile set a bit better

15 years agoalsa: add profile set for Native Instruments 4 DJ
Lennart Poettering [Thu, 18 Jun 2009 20:58:58 +0000 (22:58 +0200)]
alsa: add profile set for Native Instruments 4 DJ

15 years agoalsa: unify alsa log handling and snd_config_update_free_global() handling in one...
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

15 years agoalsa: merge mic boost into volume slider
Lennart Poettering [Thu, 18 Jun 2009 13:50:41 +0000 (15:50 +0200)]
alsa: merge mic boost into volume slider

15 years agoalsa,core: include mapping name in description strings
Lennart Poettering [Thu, 18 Jun 2009 02:38:59 +0000 (04:38 +0200)]
alsa,core: include mapping name in description strings

15 years agoalsa: add profile set for Native Instruments Audio 8 DJ sound card
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

15 years agoalsa: properly count mappings of manually defined profiles
Lennart Poettering [Thu, 18 Jun 2009 01:43:51 +0000 (03:43 +0200)]
alsa: properly count mappings of manually defined profiles

15 years agoalsa: fix duplicate mapping detection
Lennart Poettering [Thu, 18 Jun 2009 01:43:22 +0000 (03:43 +0200)]
alsa: fix duplicate mapping detection

15 years agoalsa: when creating alsa sinks/sources include mapping name in device name to allow...
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

15 years agodevice-restore: properly check save_muted flag when storing muted state
Lennart Poettering [Thu, 18 Jun 2009 01:41:49 +0000 (03:41 +0200)]
device-restore: properly check save_muted flag when storing muted state

15 years agocore: be a bit more verbose when registering a sink/source fails
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

15 years agocard,stream-restore: minor cleanups
Lennart Poettering [Wed, 17 Jun 2009 22:59:33 +0000 (00:59 +0200)]
card,stream-restore: minor cleanups

15 years agodevice-restore: save last used port in database
Lennart Poettering [Wed, 17 Jun 2009 22:59:04 +0000 (00:59 +0200)]
device-restore: save last used port in database

15 years agocard-restore: we don't need to save card data that came from the 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

15 years agostream-restore: e don't need to save stream 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

15 years agoi18n: update i18n
Lennart Poettering [Wed, 17 Jun 2009 21:43:23 +0000 (23:43 +0200)]
i18n: update i18n

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Wed, 17 Jun 2009 21:41:46 +0000 (23:41 +0200)]
Merge commit 'origin/master-tx'

15 years agopactl: show list of supported ports
Lennart Poettering [Wed, 17 Jun 2009 21:40:46 +0000 (23:40 +0200)]
pactl: show list of supported ports

15 years agonative-protocol: allow enumerating ports
Lennart Poettering [Wed, 17 Jun 2009 21:17:37 +0000 (23:17 +0200)]
native-protocol: allow enumerating ports

15 years agoraop: move all raop files to subdir
Lennart Poettering [Wed, 17 Jun 2009 13:09:28 +0000 (15:09 +0200)]
raop: move all raop files to subdir

15 years agopactl: implement pactl set-{sink|source}-port
Lennart Poettering [Wed, 17 Jun 2009 02:54:39 +0000 (04:54 +0200)]
pactl: implement pactl set-{sink|source}-port

15 years agolibpulse: implement client side for sink/source port selection commands
Lennart Poettering [Wed, 17 Jun 2009 02:54:11 +0000 (04:54 +0200)]
libpulse: implement client side for sink/source port selection commands

15 years agonative: implement command to change sink/source port
Lennart Poettering [Wed, 17 Jun 2009 02:52:41 +0000 (04:52 +0200)]
native: implement command to change sink/source port

15 years agobluetooth: return sensible error code in set_profile()
Lennart Poettering [Wed, 17 Jun 2009 02:51:57 +0000 (04:51 +0200)]
bluetooth: return sensible error code in set_profile()

15 years agoalsa: allow placing device id in alsa device strings at arbitrary positions
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

15 years agoalsa: rework mixer logic
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.

15 years agopdispatch: fix s/recieve/receive/ typos
Lennart Poettering [Wed, 17 Jun 2009 01:18:14 +0000 (03:18 +0200)]
pdispatch: fix s/recieve/receive/ typos

15 years agopstream: fix s/recieve/receive/ typos
Lennart Poettering [Wed, 17 Jun 2009 01:17:23 +0000 (03:17 +0200)]
pstream: fix s/recieve/receive/ typos

15 years agogdbm: set default block size to 1K
Lennart Poettering [Wed, 17 Jun 2009 01:16:48 +0000 (03:16 +0200)]
gdbm: set default block size to 1K

15 years agocard: get rid of description field which is unused
Lennart Poettering [Wed, 17 Jun 2009 01:16:13 +0000 (03:16 +0200)]
card: get rid of description field which is unused

15 years agocard: make sure to always hand failure code back in some calls
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

15 years agocard: some modernizations
Lennart Poettering [Wed, 17 Jun 2009 01:15:36 +0000 (03:15 +0200)]
card: some modernizations

15 years agortp: fix s/recieve/receive/ typo
Lennart Poettering [Wed, 17 Jun 2009 01:14:26 +0000 (03:14 +0200)]
rtp: fix s/recieve/receive/ typo

15 years agocore-util: implement pa_maybe_prefix_path()
Lennart Poettering [Wed, 17 Jun 2009 01:13:59 +0000 (03:13 +0200)]
core-util: implement pa_maybe_prefix_path()

15 years agocore-util: implement pa_split_spaces_strv()
Lennart Poettering [Wed, 17 Jun 2009 01:13:32 +0000 (03:13 +0200)]
core-util: implement pa_split_spaces_strv()

15 years agocore-util: implement pa_xstrfreev()
Lennart Poettering [Wed, 17 Jun 2009 01:13:01 +0000 (03:13 +0200)]
core-util: implement pa_xstrfreev()

15 years agoconf-parse: implement .include directive
Lennart Poettering [Wed, 17 Jun 2009 01:11:47 +0000 (03:11 +0200)]
conf-parse: implement .include directive

15 years agovolume,channelmap: reimplement a couple of calls based on channel masks
Lennart Poettering [Wed, 17 Jun 2009 01:09:28 +0000 (03:09 +0200)]
volume,channelmap: reimplement a couple of calls based on channel masks

15 years agochannelmap: define a couple of standard channel masks
Lennart Poettering [Wed, 17 Jun 2009 01:08:34 +0000 (03:08 +0200)]
channelmap: define a couple of standard channel masks

15 years agomalloc: implement pa_xrenew()
Lennart Poettering [Wed, 17 Jun 2009 01:07:42 +0000 (03:07 +0200)]
malloc: implement pa_xrenew()

15 years agochannelmap: make sure a mask is generated is 64 bit int
Lennart Poettering [Wed, 17 Jun 2009 01:06:54 +0000 (03:06 +0200)]
channelmap: make sure a mask is generated is 64 bit int