profile/ivi/pulseaudio.git
15 years agoclient: limit block size for zero-copy operations to mempool block size
Lennart Poettering [Fri, 24 Jul 2009 18:21:30 +0000 (20:21 +0200)]
client: limit block size for zero-copy operations to mempool block size

15 years agoclient: make volume struct const
Lennart Poettering [Fri, 24 Jul 2009 18:20:34 +0000 (20:20 +0200)]
client: make volume struct const

15 years agoalsa: throw timing data away after device resume
Lennart Poettering [Fri, 24 Jul 2009 18:13:52 +0000 (20:13 +0200)]
alsa: throw timing data away after device resume

15 years agoautospawn: refuse autospawning if process disabled waitpid()
Lennart Poettering [Fri, 24 Jul 2009 16:22:13 +0000 (18:22 +0200)]
autospawn: refuse autospawning if process disabled waitpid()

15 years agomemblock: try to hit an assert earlier when ref counting doesn't work
Lennart Poettering [Fri, 24 Jul 2009 13:49:22 +0000 (15:49 +0200)]
memblock: try to hit an assert earlier when ref counting doesn't work

15 years agoudev: explain what happened when inotify_add_watch() returned ENOSPC, rhbz #513571
Lennart Poettering [Fri, 24 Jul 2009 11:58:22 +0000 (13:58 +0200)]
udev: explain what happened when inotify_add_watch() returned ENOSPC, rhbz #513571

15 years agoalsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin if we...
Lennart Poettering [Fri, 24 Jul 2009 11:45:59 +0000 (13:45 +0200)]
alsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin if we didn't call snd_pcm_avail immediately before

15 years agopacat: use zero-copy write calls when playing audio file
Lennart Poettering [Thu, 23 Jul 2009 18:01:40 +0000 (20:01 +0200)]
pacat: use zero-copy write calls when playing audio file

15 years agoclient: include zerocopy write calls in map file
Lennart Poettering [Thu, 23 Jul 2009 18:00:08 +0000 (20:00 +0200)]
client: include zerocopy write calls in map file

15 years agoalsa: don't reset volume/mute when selecting path
Lennart Poettering [Thu, 23 Jul 2009 17:24:26 +0000 (19:24 +0200)]
alsa: don't reset volume/mute when selecting path

15 years agodaemon: replace colons by dash in per-machine directory names for compat with weird...
Lennart Poettering [Thu, 23 Jul 2009 17:12:53 +0000 (19:12 +0200)]
daemon: replace colons by dash in per-machine directory names for compat with weird filesystems

15 years agobuild-sys: add a couple of stub Makefiles
Lennart Poettering [Thu, 23 Jul 2009 16:49:28 +0000 (18:49 +0200)]
build-sys: add a couple of stub Makefiles

15 years agoalsa: control 'Speaker' element as well
Lennart Poettering [Thu, 23 Jul 2009 16:44:26 +0000 (18:44 +0200)]
alsa: control 'Speaker' element as well

15 years agopo: run make update-po
Lennart Poettering [Thu, 23 Jul 2009 13:37:53 +0000 (15:37 +0200)]
po: run make update-po

15 years agoMerge branch 'master-tx'
Lennart Poettering [Thu, 23 Jul 2009 13:32:33 +0000 (15:32 +0200)]
Merge branch 'master-tx'

Conflicts:
po/ca.po
po/cs.po
po/de.po
po/es.po
po/pl.po

15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Thu, 23 Jul 2009 13:18:06 +0000 (15:18 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

Conflicts:
src/daemon/main.c

15 years agoMerge commit 'flameeyes/osx'
Lennart Poettering [Thu, 23 Jul 2009 13:13:29 +0000 (15:13 +0200)]
Merge commit 'flameeyes/osx'

15 years agoprotocol-native: use the right samplerate
Wim Taymans [Thu, 23 Jul 2009 11:40:23 +0000 (13:40 +0200)]
protocol-native: use the right samplerate

The render_memblockq is expressed in the sample_spec of the sink, not of the
particular stream before resampling.

15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Wed, 22 Jul 2009 20:49:06 +0000 (22:49 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

15 years agoudev: don't fail if /dev/snd is not available right-away
Lennart Poettering [Wed, 22 Jul 2009 20:48:54 +0000 (22:48 +0200)]
udev: don't fail if /dev/snd is not available right-away

15 years agodaemon: reset personality, to make the autospawn env cleaup complete
Lennart Poettering [Wed, 22 Jul 2009 20:47:51 +0000 (22:47 +0200)]
daemon: reset personality, to make the autospawn env cleaup complete

15 years agoalsa: deal properly with IO functions asking us to write 0 bytes
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

15 years agomemtrap: clarify that we are not interested in the return value of write()
Lennart Poettering [Mon, 20 Jul 2009 14:50:02 +0000 (15:50 +0100)]
memtrap: clarify that we are not interested in the return value of write()

15 years agoclient: allow zero-copy writing to the stream
Lennart Poettering [Mon, 20 Jul 2009 14:49:33 +0000 (15:49 +0100)]
client: allow zero-copy writing to the stream

15 years agodaemon: before exec'ing ourselves, make sure nobody plays games with /proc/self/exe
Lennart Poettering [Mon, 20 Jul 2009 14:47:57 +0000 (15:47 +0100)]
daemon: before exec'ing ourselves, make sure nobody plays games with /proc/self/exe

15 years agoSending translation for Catalan
xconde [Sat, 18 Jul 2009 17:53:43 +0000 (17:53 +0000)]
Sending translation for Catalan

15 years agoAgain make sure that the wait() definition is not shadowed.
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 19:05:49 +0000 (21:05 +0200)]
Again make sure that the wait() definition is not shadowed.

Rename the parameter in pa_asyncmsgq_get() to wait_op.

15 years agoMake the rtstutter tests mostly pointless without CLOCK_REALTIME.
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 19:03:22 +0000 (21:03 +0200)]
Make the rtstutter tests mostly pointless without CLOCK_REALTIME.

On the other hand, this actually makes the test build, and test at least
that it doesn't abort away, when the CLOCK_REALTIME interface is not
present (or when clock_gettime is not found).

15 years agoFurther simplify on Daniel's patch for bootstrap.sh.
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 18:48:44 +0000 (20:48 +0200)]
Further simplify on Daniel's patch for bootstrap.sh.

Instead of having further indirections, stick to POSIX command options for
cp and chmod. This leaves just the LIBTOOL handling to be Darwin-specific.

15 years agomake bootstrap.sh aware of Darwin environment
Daniel Mack [Fri, 17 Jul 2009 11:45:37 +0000 (13:45 +0200)]
make bootstrap.sh aware of Darwin environment

Signed-off-by: Daniel Mack <daniel@caiaq.de>
15 years agoAlso request Darwin extensions, as they are needed for stuff like NSIG.
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 18:41:58 +0000 (20:41 +0200)]
Also request Darwin extensions, as they are needed for stuff like NSIG.

Without this definition, non-POSIX interfaces (which are needed) are hidden
by the _POSIX_C_SOURCE request (for clock_gettime).

15 years agoRequest explicitly POSIX.1-2001 for clock_gettime.
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 12:33:33 +0000 (14:33 +0200)]
Request explicitly POSIX.1-2001 for clock_gettime.

This might actually call for a rewrite of system extensions handling.

15 years agoCheck for support of -z nodelete LD flag, don't use it unconditionally.
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 12:18:07 +0000 (14:18 +0200)]
Check for support of -z nodelete LD flag, don't use it unconditionally.

On non-GNU, non-Sun linkers, the -z option is often not understood; make
sure that the -z nodelete option is usable before making use of it.

Unbreaks build on Mac OS X.

15 years agoMerge commit 'flameeyes/master'
Colin Guthrie [Thu, 16 Jul 2009 16:41:25 +0000 (17:41 +0100)]
Merge commit 'flameeyes/master'

15 years agoRemove exploitable LD_BIND_NOW hack (CVE-2009-1894).
Diego Elio 'Flameeyes' Pettenò [Tue, 7 Jul 2009 18:51:53 +0000 (20:51 +0200)]
Remove exploitable LD_BIND_NOW hack (CVE-2009-1894).

Instead of trying to re-execute pulseaudio itself with LD_BIND_NOW set,
just find the correct flag for the linker to request immediate bindings
(all ELF files support that option), and use that when linking the daemon.

Reduce the amount of compiled and executed code as well.

15 years agointrospect: Fix two memory issues in port handling code.
Colin Guthrie [Sun, 12 Jul 2009 19:43:21 +0000 (20:43 +0100)]
introspect: Fix two memory issues in port handling code.

First one is a simple typo on an error condition that would have likely caused issues if it ever cropped up.
Second issue is that port information is never actually freed if everything works fine.

15 years agoSending translation for Czech
pmkovar [Tue, 7 Jul 2009 20:06:25 +0000 (20:06 +0000)]
Sending translation for Czech

15 years agoCheck for the library containing the backtrace() function.
Diego Elio 'Flameeyes' Pettenò [Sat, 4 Jul 2009 11:12:32 +0000 (13:12 +0200)]
Check for the library containing the backtrace() function.

On FreeBSD the backtrace() function as well as the execinfo.h headers are
provided by libexecinfo (an optional package). PulseAudio “automagically”
identifies execinfo.h and proceeds to use it, but then will fail to link
against the library.

Thanks to Alexis Ballier for reporting.

15 years agostream-restore: mark volume changes from instant apply as saved ones
Lennart Poettering [Wed, 1 Jul 2009 19:11:19 +0000 (21:11 +0200)]
stream-restore: mark volume changes from instant apply as saved ones

15 years agobluetooth: don't connect on unconnected profile
Marc-André Lureau [Mon, 29 Jun 2009 14:46:30 +0000 (17:46 +0300)]
bluetooth: don't connect on unconnected profile

15 years agobluetooth: warn on EAGAIN after POLLOUT
Marc-André Lureau [Wed, 1 Jul 2009 10:11:33 +0000 (13:11 +0300)]
bluetooth: warn on EAGAIN after POLLOUT

15 years agomemtrap: properly lock access to memtrap changer
Lennart Poettering [Wed, 1 Jul 2009 18:22:38 +0000 (20:22 +0200)]
memtrap: properly lock access to memtrap changer

15 years agomemblock: rearrange locking order
Lennart Poettering [Wed, 1 Jul 2009 18:20:55 +0000 (20:20 +0200)]
memblock: rearrange locking order

15 years agoreserve: update from upstream git repo
Lennart Poettering [Wed, 1 Jul 2009 18:20:36 +0000 (20:20 +0200)]
reserve: update from upstream git repo

15 years agoalsa: fix a few comments
Lennart Poettering [Wed, 1 Jul 2009 18:20:06 +0000 (20:20 +0200)]
alsa: fix a few comments

15 years agobuild-sys: add missing dependency to libcli
Lennart Poettering [Wed, 1 Jul 2009 18:19:42 +0000 (20:19 +0200)]
build-sys: add missing dependency to libcli

15 years agolibpulse: minor cleanups
Lennart Poettering [Wed, 1 Jul 2009 12:26:07 +0000 (14:26 +0200)]
libpulse: minor cleanups

15 years agonative: don't hit assert when user uploads zero-sized sample
Lennart Poettering [Wed, 1 Jul 2009 12:25:13 +0000 (14:25 +0200)]
native: don't hit assert when user uploads zero-sized sample

15 years agobluetooth: don't busy loop when device is not writable but we want to write
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

15 years agobluetooth: handle absence of bluez D-Bus service properly
Lennart Poettering [Wed, 1 Jul 2009 00:20:23 +0000 (02:20 +0200)]
bluetooth: handle absence of bluez D-Bus service properly

15 years agoreserve: fix build without D-Bus
Lennart Poettering [Tue, 30 Jun 2009 19:13:09 +0000 (21:13 +0200)]
reserve: fix build without D-Bus

15 years agobootstrap: Ship git-version-gen with the tarball.
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.

15 years agointrospect: Fix a bug in sink/source info protocol handling related to ports.
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.

15 years agocombine: Do not set (and update) description if the user passed one in during load.
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.

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>