Lennart Poettering [Mon, 10 Aug 2009 19:34:03 +0000 (21:34 +0200)]
Merge commit 'origin/master-tx'
Lennart Poettering [Mon, 10 Aug 2009 19:33:42 +0000 (21:33 +0200)]
Merge commit 'flameeyes/master'
Maxim Levitsky [Sun, 9 Aug 2009 00:01:08 +0000 (03:01 +0300)]
Correctly deal with events in the past in calc_next_timeout
pa_usec_t is unsigned, thus it will always be >= 0
This makes gstreamer pulse mixer work again
This fixes a gstreamer mixer regression, when it can't control the volume,
after few changes.
logan [Mon, 10 Aug 2009 17:37:00 +0000 (17:37 +0000)]
Sending translation for Spanish
igor [Sat, 8 Aug 2009 22:03:35 +0000 (22:03 +0000)]
Sending translation for Brazilian Portuguese
Lennart Poettering [Sat, 8 Aug 2009 02:30:42 +0000 (04:30 +0200)]
mix-test: fix test for s24-32 samples
Diego Elio 'Flameeyes' Pettenò [Sat, 8 Aug 2009 00:09:26 +0000 (02:09 +0200)]
Update the end-of-configuration summary for OSS output/wrapper split.
Diego Elio 'Flameeyes' Pettenò [Fri, 7 Aug 2009 23:53:15 +0000 (01:53 +0200)]
Split OSS support in output and wrapper.
Since Fedora does not enable OSS output support at all, but still uses
padsp, and in Gentoo we could also make use of padsp without OSS output
support, split the two things in two parameters, although they both check
for sys/soundcard.h once.
Lennart Poettering [Fri, 7 Aug 2009 23:37:32 +0000 (01:37 +0200)]
build-sys: drop libcap checks, since we don't use caps anymore
Lennart Poettering [Fri, 7 Aug 2009 21:58:45 +0000 (23:58 +0200)]
ladspa/remap: make sure we process all requested rewinds unconditionally
In some situations a rewind request travelling downstream might be
optimized away on its way and an upstream rewind processing might never
come back. Hence, call _process_rewind() before each _render()just to
make sure we processed them all.
Lennart Poettering [Fri, 7 Aug 2009 21:55:06 +0000 (23:55 +0200)]
core: save volume/mute changes coming from the hardware automatically
Volume changes coming from the lower layers are most likely changes
triggered by the user, so let's save them automatically.
Lennart Poettering [Wed, 5 Aug 2009 13:17:31 +0000 (15:17 +0200)]
run make update-po
Lennart Poettering [Wed, 5 Aug 2009 13:08:29 +0000 (15:08 +0200)]
Merge commit 'origin/master-tx'
Conflicts:
po/pl.po
po/pt.po
po/pt_BR.po
ruigo [Wed, 5 Aug 2009 10:23:26 +0000 (10:23 +0000)]
Sending translation for Portuguese
ruigo [Wed, 5 Aug 2009 10:20:38 +0000 (10:20 +0000)]
Sending translation for Portuguese
Lennart Poettering [Wed, 5 Aug 2009 01:53:41 +0000 (03:53 +0200)]
simple: bump libpulse-simple library revision
Lennart Poettering [Wed, 5 Aug 2009 01:52:15 +0000 (03:52 +0200)]
smoother: readd #ifdef protection
ruigo [Tue, 4 Aug 2009 23:32:24 +0000 (23:32 +0000)]
Sending translation for Portuguese
Lennart Poettering [Tue, 4 Aug 2009 23:05:35 +0000 (01:05 +0200)]
simple: check for == RUNNING instead of != DONE when waiting for operations
Lennart Poettering [Tue, 4 Aug 2009 23:05:08 +0000 (01:05 +0200)]
simple: split data/length validity checks into two
Lennart Poettering [Tue, 4 Aug 2009 23:04:50 +0000 (01:04 +0200)]
simple: call pa_context_disconnect() just to be sure
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
Lennart Poettering [Tue, 4 Aug 2009 23:04:08 +0000 (01:04 +0200)]
simple: use pa_xnew0 instead of manual reset to 0
Lennart Poettering [Tue, 4 Aug 2009 23:03:49 +0000 (01:03 +0200)]
simple: use PA_xxx_IS_GOOD for state checks
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
Lennart Poettering [Mon, 3 Aug 2009 22:23:43 +0000 (00:23 +0200)]
alsa: properly treat ESTRPIPE as system suspend
Lennart Poettering [Mon, 3 Aug 2009 21:07:59 +0000 (23:07 +0200)]
client: extend documentation on pa_operation_cancel() a bit
Lennart Poettering [Mon, 3 Aug 2009 21:07:39 +0000 (23:07 +0200)]
build-sys: take preset CFLAGS into account
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>
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
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
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().
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
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
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.
Lennart Poettering [Fri, 31 Jul 2009 21:07:07 +0000 (23:07 +0200)]
client: fix documentation for threaded mainloop
Closes #553
Alam Arias [Wed, 1 Jul 2009 19:59:11 +0000 (15:59 -0400)]
update pulse-daemon.conf.5.xml.in about realtime-scheduling
Alam Arias [Wed, 1 Jul 2009 19:53:37 +0000 (15:53 -0400)]
update pulse-daemon.conf.5.xml.in about exit-idle-time
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.
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
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()
igor [Tue, 28 Jul 2009 22:49:57 +0000 (22:49 +0000)]
Sending translation for Brazilian Portuguese
raven [Tue, 28 Jul 2009 22:18:15 +0000 (22:18 +0000)]
Sending translation for Polish
Lennart Poettering [Mon, 27 Jul 2009 23:43:33 +0000 (01:43 +0200)]
build-sys: bump binary version
Lennart Poettering [Mon, 27 Jul 2009 23:39:58 +0000 (01:39 +0200)]
i18n: run make-update-po
Lennart Poettering [Mon, 27 Jul 2009 23:35:19 +0000 (01:35 +0200)]
Merge branch 'master' into master-tx
Lennart Poettering [Sat, 25 Jul 2009 01:11:09 +0000 (03:11 +0200)]
client: minor modernizations
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
Lennart Poettering [Fri, 24 Jul 2009 18:22:19 +0000 (20:22 +0200)]
interpol-test: allow configuration of latency
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
Lennart Poettering [Fri, 24 Jul 2009 18:20:34 +0000 (20:20 +0200)]
client: make volume struct const
Lennart Poettering [Fri, 24 Jul 2009 18:13:52 +0000 (20:13 +0200)]
alsa: throw timing data away after device resume
Lennart Poettering [Fri, 24 Jul 2009 16:22:13 +0000 (18:22 +0200)]
autospawn: refuse autospawning if process disabled waitpid()
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
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
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
logan [Thu, 23 Jul 2009 18:18:16 +0000 (18:18 +0000)]
Sending translation for Spanish
Lennart Poettering [Thu, 23 Jul 2009 18:01:40 +0000 (20:01 +0200)]
pacat: use zero-copy write calls when playing audio file
Lennart Poettering [Thu, 23 Jul 2009 18:00:08 +0000 (20:00 +0200)]
client: include zerocopy write calls in map file
Lennart Poettering [Thu, 23 Jul 2009 17:24:26 +0000 (19:24 +0200)]
alsa: don't reset volume/mute when selecting path
raven [Thu, 23 Jul 2009 17:15:39 +0000 (17:15 +0000)]
Sending translation for Polish
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
Lennart Poettering [Thu, 23 Jul 2009 16:49:28 +0000 (18:49 +0200)]
build-sys: add a couple of stub Makefiles
Lennart Poettering [Thu, 23 Jul 2009 16:44:26 +0000 (18:44 +0200)]
alsa: control 'Speaker' element as well
Lennart Poettering [Thu, 23 Jul 2009 13:37:53 +0000 (15:37 +0200)]
po: run make update-po
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
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
Lennart Poettering [Thu, 23 Jul 2009 13:13:29 +0000 (15:13 +0200)]
Merge commit 'flameeyes/osx'
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.
Lennart Poettering [Wed, 22 Jul 2009 20:49:06 +0000 (22:49 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
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
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 [Mon, 20 Jul 2009 14:50:02 +0000 (15:50 +0100)]
memtrap: clarify that we are not interested in the return value of write()
Lennart Poettering [Mon, 20 Jul 2009 14:49:33 +0000 (15:49 +0100)]
client: allow zero-copy writing to the stream
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
xconde [Sat, 18 Jul 2009 17:53:43 +0000 (17:53 +0000)]
Sending translation for Catalan
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.
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).
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.
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>
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).
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.
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.
Colin Guthrie [Thu, 16 Jul 2009 16:41:25 +0000 (17:41 +0100)]
Merge commit 'flameeyes/master'
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.
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.
pmkovar [Tue, 7 Jul 2009 20:06:25 +0000 (20:06 +0000)]
Sending translation for Czech
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.
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