profile/ivi/pulseaudio.git
15 years agosimple: always loop around pa_threaded_mainloop_wait() to handle spurious wakeups...
Lennart Poettering [Tue, 4 Aug 2009 23:04:36 +0000 (01:04 +0200)]
simple: always loop around pa_threaded_mainloop_wait() to handle spurious wakeups properly

15 years agosimple: use pa_xnew0 instead of manual reset to 0
Lennart Poettering [Tue, 4 Aug 2009 23:04:08 +0000 (01:04 +0200)]
simple: use pa_xnew0 instead of manual reset to 0

15 years agosimple: use PA_xxx_IS_GOOD for state checks
Lennart Poettering [Tue, 4 Aug 2009 23:03:49 +0000 (01:03 +0200)]
simple: use PA_xxx_IS_GOOD for state checks

15 years agoPOTFILES - Remove references to more non-existant files in the source tree
Luke Yelavich [Tue, 4 Aug 2009 09:58:03 +0000 (10:58 +0100)]
POTFILES - Remove references to more non-existant files in the source tree

15 years agoalsa: properly treat ESTRPIPE as system suspend
Lennart Poettering [Mon, 3 Aug 2009 22:23:43 +0000 (00:23 +0200)]
alsa: properly treat ESTRPIPE as system suspend

15 years agoclient: extend documentation on pa_operation_cancel() a bit
Lennart Poettering [Mon, 3 Aug 2009 21:07:59 +0000 (23:07 +0200)]
client: extend documentation on pa_operation_cancel() a bit

15 years agobuild-sys: take preset CFLAGS into account
Lennart Poettering [Mon, 3 Aug 2009 21:07:39 +0000 (23:07 +0200)]
build-sys: take preset CFLAGS into account

15 years agoRecover stream when it's suspended upon rewind
Lubomir Rintel [Sun, 2 Aug 2009 15:52:05 +0000 (17:52 +0200)]
Recover stream when it's suspended upon rewind

Error from snd_pcm_rewind() might mean we just woke up from suspend and
didn't have a chance to try to recover the stream since we didn't write
to it in between. Call try_recover() in such cases.

Note that for this to work kernel must return ESTRPIPE instead of EBADF
for rewind/forward attempts on suspended streams, so that
snd_pcm_recover() can recognize it should snd_pcm_resume() the stream.
This is not the case yet (2.6.31-rc5), patch is available.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
15 years agoautospawn: if creating the lock file fails, pass error code cleanly back to main...
Lennart Poettering [Sat, 1 Aug 2009 01:10:19 +0000 (03:10 +0200)]
autospawn: if creating the lock file fails, pass error code cleanly back to main process

This makes sure PA clients don't hang if $HOME is for some reason
unsuitable for autospawn lockfiles.

Closes #539

15 years agocore-util: replace remaining fixed size destination string functions by _malloc(...
Lennart Poettering [Sat, 1 Aug 2009 00:03:22 +0000 (02:03 +0200)]
core-util: replace remaining fixed size destination string functions by _malloc() versions

This helps portability to GNU/Hurd.

Patch originally from Samuel Thibault but modified.

Closes ticket #546

15 years agocore-util: rework pa_strlcpy() to not rely on strncpy()
Lennart Poettering [Sat, 1 Aug 2009 00:01:58 +0000 (02:01 +0200)]
core-util: rework pa_strlcpy() to not rely on strncpy()

strncpy() is very slow since it resets the entire destination buffer.
Replace usage of strncpy by memcpy().

15 years agopipe: replace PIPE_BUF macro pa pa_pipe_buf call
Lennart Poettering [Fri, 31 Jul 2009 23:59:58 +0000 (01:59 +0200)]
pipe: replace PIPE_BUF macro pa pa_pipe_buf call

This should help portability to platforms that lack PIPE_BUF. Based on a
patch from Samuel Thibault.

See ticket #546

15 years agohal: add option to initialize all subdevices of an OSS device
Lennart Poettering [Fri, 31 Jul 2009 21:13:21 +0000 (23:13 +0200)]
hal: add option to initialize all subdevices of an OSS device

Patch from 'cmt', closes ticket #544

15 years agoclient: documented that pa_stream_drain() may only have a single operation active...
Lennart Poettering [Fri, 31 Jul 2009 21:09:16 +0000 (23:09 +0200)]
client: documented that pa_stream_drain() may only have a single operation active at a time

Closes #552.

15 years agoclient: fix documentation for threaded mainloop
Lennart Poettering [Fri, 31 Jul 2009 21:07:07 +0000 (23:07 +0200)]
client: fix documentation for threaded mainloop

Closes #553

15 years agoupdate pulse-daemon.conf.5.xml.in about realtime-scheduling
Alam Arias [Wed, 1 Jul 2009 19:59:11 +0000 (15:59 -0400)]
update pulse-daemon.conf.5.xml.in about realtime-scheduling

15 years agoupdate pulse-daemon.conf.5.xml.in about exit-idle-time
Alam Arias [Wed, 1 Jul 2009 19:53:37 +0000 (15:53 -0400)]
update pulse-daemon.conf.5.xml.in about exit-idle-time

15 years agoalsa: revert to first set number of periods, then set buffer size
Lennart Poettering [Fri, 31 Jul 2009 00:07:24 +0000 (02:07 +0200)]
alsa: revert to first set number of periods, then set buffer size

Apparently some ALSA drivers aren't happy with getting the buffer size
configured first followed the period size. So swap the order again and
document this for future reference so that we don't turn that around
again.

15 years agotunnel: don't assert on misaligned reads, closes #597 and rhbz #496310
Lennart Poettering [Thu, 30 Jul 2009 22:50:19 +0000 (00:50 +0200)]
tunnel: don't assert on misaligned reads, closes #597 and rhbz #496310

15 years agothreaded-mainloop: loop around pa_cond_wait() invocation in pa_threaded_mainloop_signal()
Lennart Poettering [Thu, 30 Jul 2009 21:46:25 +0000 (23:46 +0200)]
threaded-mainloop: loop around pa_cond_wait() invocation in pa_threaded_mainloop_signal()

15 years agobuild-sys: bump binary version
Lennart Poettering [Mon, 27 Jul 2009 23:43:33 +0000 (01:43 +0200)]
build-sys: bump binary version

15 years agoi18n: run make-update-po
Lennart Poettering [Mon, 27 Jul 2009 23:39:58 +0000 (01:39 +0200)]
i18n: run make-update-po

15 years agoMerge branch 'master' into master-tx
Lennart Poettering [Mon, 27 Jul 2009 23:35:19 +0000 (01:35 +0200)]
Merge branch 'master' into master-tx

15 years agoclient: minor modernizations
Lennart Poettering [Sat, 25 Jul 2009 01:11:09 +0000 (03:11 +0200)]
client: minor modernizations

15 years agoclient: if a child we created was already reaped, assume that it was successful
Lennart Poettering [Fri, 24 Jul 2009 23:29:36 +0000 (01:29 +0200)]
client: if a child we created was already reaped, assume that it was successful

15 years agointerpol-test: allow configuration of latency
Lennart Poettering [Fri, 24 Jul 2009 18:22:19 +0000 (20:22 +0200)]
interpol-test: allow configuration of latency

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 agoSending translation for Spanish
logan [Thu, 23 Jul 2009 18:18:16 +0000 (18:18 +0000)]
Sending translation for Spanish

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 agoSending translation for Polish
raven [Thu, 23 Jul 2009 17:15:39 +0000 (17:15 +0000)]
Sending translation for Polish

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.