Lennart Poettering [Fri, 14 Aug 2009 02:12:36 +0000 (04:12 +0200)]
pacmd: handle multi word commands in argv[] properly
Lennart Poettering [Thu, 13 Aug 2009 00:17:24 +0000 (02:17 +0200)]
core: add functions to query max_rewind/max_request values from streams
Lennart Poettering [Thu, 13 Aug 2009 00:14:19 +0000 (02:14 +0200)]
core: add assert macros for verifying calling context
This adds pa_assert_io_context() and pa_assert_ctl_context() in addition
to a few related macros. When called they will fail when the current execution
context is not IO resp. not control context. (aka 'thread' context vs.
'main' context)
Lennart Poettering [Wed, 12 Aug 2009 19:43:06 +0000 (21:43 +0200)]
start-child: clean up child environment a bit better
Lennart Poettering [Wed, 12 Aug 2009 19:42:02 +0000 (21:42 +0200)]
pacmd: port pacmd from select() to poll() so that we notice writer side hangups
Lennart Poettering [Wed, 12 Aug 2009 19:40:38 +0000 (21:40 +0200)]
memblock: rate limit 'Pool full' message
Lennart Poettering [Wed, 12 Aug 2009 19:40:12 +0000 (21:40 +0200)]
context: document why we only do minimal cleanups before the autospawn exec()
Lennart Poettering [Wed, 12 Aug 2009 19:37:40 +0000 (21:37 +0200)]
daemon: reset scheduling priority on startup, too
Lennart Poettering [Wed, 12 Aug 2009 19:36:52 +0000 (21:36 +0200)]
core-util: move personality resetting into core-util
Lennart Poettering [Wed, 12 Aug 2009 19:35:48 +0000 (21:35 +0200)]
daemon: unconditionally clean up priviliges
Lennart Poettering [Wed, 12 Aug 2009 18:15:28 +0000 (20:15 +0200)]
conf: invert all negative boolean configuration option
Lennart Poettering [Wed, 12 Aug 2009 18:14:31 +0000 (20:14 +0200)]
conf: add pa_config_parse_not_bool() for parsing inverse boolean configuration options
Lennart Poettering [Tue, 11 Aug 2009 23:50:24 +0000 (01:50 +0200)]
daemon: install D-Bus system policy file for PA system instances
Original patch from 'mgrela'.
http://pulseaudio.org/ticket/582
Lennart Poettering [Tue, 11 Aug 2009 22:56:10 +0000 (00:56 +0200)]
alsa: enable ext. amplifier by default
Lennart Poettering [Tue, 11 Aug 2009 22:53:38 +0000 (00:53 +0200)]
alsa: adjust priority bonus of mappings that match the configured default channel map
We need to make sure that having both input and output weighs more for
selecting the default profile than a channel map that matches the
default channel map has.
https://bugzilla.redhat.com/show_bug.cgi?id=496320
Lennart Poettering [Tue, 11 Aug 2009 21:19:28 +0000 (23:19 +0200)]
volume-restore: forward module load return value of stream-restore back to caller
Lennart Poettering [Tue, 11 Aug 2009 21:18:01 +0000 (23:18 +0200)]
hal: replace subdevs= parameter by subdevices= parameter
Abbreviating tsched like this was bad enough, so let's not add another
option here.
Lennart Poettering [Tue, 11 Aug 2009 21:06:44 +0000 (23:06 +0200)]
udev: drop definition of LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
We depend on udev 143 anyway, where this definition is not necessary
anymore.
Lennart Poettering [Tue, 11 Aug 2009 21:04:35 +0000 (23:04 +0200)]
hal: add stub module that loads module-udev-detect instead of module-hal-detect
This adds module-hal-detect-compat.c which when enabled will be compiled
into a module module-hal-detect which simply loads module-udev-detect.
The purpose of this is to allow easy upgrading without breaking
default.pa. Distributions are recommended to enable this to easy
upgrades from HAL versions of PA to udev versions.
Lennart Poettering [Mon, 10 Aug 2009 19:43:03 +0000 (21:43 +0200)]
Revert "build-sys: drop libcap checks, since we don't use caps anymore"
This reverts commit
9ade13604e98378e68a82b82ba260869714474b4.
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.