Lennart Poettering [Wed, 14 Jan 2009 23:40:06 +0000 (00:40 +0100)]
add new dont_rewind_render flag to allow quick starts of newly created streams
Lennart Poettering [Wed, 14 Jan 2009 23:07:38 +0000 (00:07 +0100)]
don't rely on PA_SINK_RUNNING vs. PA_SINK_IDLE for optimizations since it might not be fully up to date
Lennart Poettering [Wed, 14 Jan 2009 23:03:56 +0000 (00:03 +0100)]
fix a potential format string vulnerability
Lennart Poettering [Wed, 14 Jan 2009 23:03:33 +0000 (00:03 +0100)]
document that PA_API_VERSION is only for incompatible API changes
Lennart Poettering [Wed, 14 Jan 2009 16:36:44 +0000 (17:36 +0100)]
make pa_asyncq_push() fail under no circumstances.
Lennart Poettering [Tue, 13 Jan 2009 23:54:38 +0000 (00:54 +0100)]
Fix a typo I know owe Marc-Andre a beer for.
Colin Guthrie [Tue, 13 Jan 2009 23:34:09 +0000 (23:34 +0000)]
Fix a potentially non-returning function in base64 code.
Lennart Poettering [Tue, 13 Jan 2009 23:22:27 +0000 (00:22 +0100)]
Merge commit 'elmarco/master'
Lennart Poettering [Tue, 13 Jan 2009 23:07:50 +0000 (00:07 +0100)]
remove calc_sine() since we don't need it anymore
Lennart Poettering [Tue, 13 Jan 2009 23:07:32 +0000 (00:07 +0100)]
include new proplist functions in export list
Lennart Poettering [Tue, 13 Jan 2009 23:06:40 +0000 (00:06 +0100)]
fix calculation of avail_min
Lennart Poettering [Tue, 13 Jan 2009 23:06:26 +0000 (00:06 +0100)]
add pa_proplist_size() and pa_proplist_isempty()
Lennart Poettering [Tue, 13 Jan 2009 23:05:54 +0000 (00:05 +0100)]
Fix version info
Marc-André Lureau [Tue, 13 Jan 2009 17:08:22 +0000 (19:08 +0200)]
build: fix few warnings
Marc-André Lureau [Tue, 13 Jan 2009 17:07:59 +0000 (19:07 +0200)]
cli: add missing update-*-proplist
Marc-André Lureau [Tue, 13 Jan 2009 17:06:10 +0000 (19:06 +0200)]
core: add source, si, so proplist_update
Marc-André Lureau [Mon, 10 Nov 2008 17:11:40 +0000 (19:11 +0200)]
build: print more informations about preopen
Marc-André Lureau [Fri, 31 Oct 2008 16:43:38 +0000 (18:43 +0200)]
cli: update-sink-proplist
Marc-André Lureau [Mon, 27 Oct 2008 19:14:50 +0000 (21:14 +0200)]
libpulse: add proplist_from_string
Marc-André Lureau [Thu, 4 Dec 2008 14:23:06 +0000 (16:23 +0200)]
core: report remaining shared objects when cleanup
Marc-André Lureau [Fri, 31 Oct 2008 00:38:00 +0000 (02:38 +0200)]
core: add pa_source_update_proplist
Marc-André Lureau [Fri, 31 Oct 2008 00:33:28 +0000 (02:33 +0200)]
core: add pa_sink_update_proplist
Lennart Poettering [Mon, 12 Jan 2009 22:36:28 +0000 (23:36 +0100)]
bump version/soname
Lennart Poettering [Mon, 12 Jan 2009 19:01:59 +0000 (20:01 +0100)]
Merge commit 'origin/master-tx'
Lennart Poettering [Mon, 12 Jan 2009 18:49:50 +0000 (19:49 +0100)]
Port sine modules to pa_memchunk_sine()
Lennart Poettering [Mon, 12 Jan 2009 18:48:44 +0000 (19:48 +0100)]
add new API function pa_memchunk_sine()
Ease generation of sine signals. Try to make the repeatable sine
memblock fit into a single mempool slot.
Lennart Poettering [Mon, 12 Jan 2009 18:46:17 +0000 (19:46 +0100)]
Extend command name lookup tables to cover complete protocol
Makes it easier to debug things.
Lennart Poettering [Mon, 12 Jan 2009 18:44:21 +0000 (19:44 +0100)]
Fix suspending of all sinks/sources
pasuspender issues a SUSPEND_ALL requests for suspending all
sinks/sources at once. This has been broken due to an ill-placed sanity
checked.
Lennart Poettering [Mon, 12 Jan 2009 18:44:08 +0000 (19:44 +0100)]
read base volume only in proto 15
Lennart Poettering [Mon, 12 Jan 2009 18:34:12 +0000 (19:34 +0100)]
for record streams fill in the latency as the fragsize
Lennart Poettering [Mon, 12 Jan 2009 18:33:38 +0000 (19:33 +0100)]
fix version check
Lennart Poettering [Sat, 10 Jan 2009 02:33:27 +0000 (03:33 +0100)]
Make sure we don't drop any data on the client side
Lennart Poettering [Sat, 10 Jan 2009 02:33:10 +0000 (03:33 +0100)]
make module-sine-source actually work
Lennart Poettering [Sat, 10 Jan 2009 01:55:57 +0000 (02:55 +0100)]
show maximum usable slot size
Lennart Poettering [Sat, 10 Jan 2009 01:53:57 +0000 (02:53 +0100)]
Add new pa_reduce() and pa_gcd() functions
Piotr Drąg [Fri, 9 Jan 2009 21:18:23 +0000 (21:18 +0000)]
Updated Polish translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Lennart Poettering [Thu, 8 Jan 2009 22:31:05 +0000 (23:31 +0100)]
make things compile again
Lennart Poettering [Thu, 8 Jan 2009 22:30:51 +0000 (23:30 +0100)]
add a few missing parens
Lennart Poettering [Thu, 8 Jan 2009 22:30:10 +0000 (23:30 +0100)]
drop a few warning options, add a few new ones
Lennart Poettering [Thu, 8 Jan 2009 20:18:15 +0000 (21:18 +0100)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Thu, 8 Jan 2009 20:17:58 +0000 (21:17 +0100)]
Add new test source module-sine-source
Lennart Poettering [Thu, 8 Jan 2009 20:13:18 +0000 (21:13 +0100)]
A few minor cleanups and updates
Lennart Poettering [Thu, 8 Jan 2009 20:12:03 +0000 (21:12 +0100)]
Add new debuuging API pa_memchunk_dump_to_file()
Lennart Poettering [Thu, 8 Jan 2009 18:37:29 +0000 (19:37 +0100)]
run "make update-po"
Lennart Poettering [Thu, 8 Jan 2009 18:35:58 +0000 (19:35 +0100)]
Merge commit 'origin/master-tx'
Marc-André Lureau [Thu, 8 Jan 2009 17:38:38 +0000 (19:38 +0200)]
build: fix missing x11 modules dependencies
Marc-André Lureau [Thu, 8 Jan 2009 17:13:49 +0000 (19:13 +0200)]
bluetooth: Update sbc from git upstream.
It contains encoding fixes, pass the conformance tests, and is now
vectorizable. Next update might include SSE and/or Neon code.
Marc-André Lureau [Thu, 8 Jan 2009 16:25:12 +0000 (18:25 +0200)]
bluetooth: add update-sbc and friends
Grr.. You can't do:
SBC_FILES = a b c
libsbc_SOURCES = $(addprefix modules/bluetooth/,$(SBC_FILES))
With automake...
So I $(strip 'modules/bluetooth/') instead.
Marc-André Lureau [Thu, 8 Jan 2009 15:19:20 +0000 (17:19 +0200)]
build: run some tests during make check (and distcheck)
Run simple core tests during 'check'.
I plan to add more automated tests, including pulseaudio instances. I
did some for maemo, they still need some love.
Note: it would be funky to enable Automake 'color-tests' option when
this will be released (1.10.2 and from automake git)
Marc-André Lureau [Thu, 8 Jan 2009 12:55:33 +0000 (14:55 +0200)]
build: Use proper -disable-static instead of removing .a
Don't mess up with autofoo, to pass 'make distcheck' again.
Note: I am not convinced by the 'rm -f *.la', I know it can solve
issue, but it should be handled by distributions probably...
Marc-André Lureau [Thu, 8 Jan 2009 10:45:56 +0000 (12:45 +0200)]
build: add atomic.h and refcnt.h to libpulsecommon
I choose libpulsecommon over libpulsecore because some files
from libpulsecommon (eg. once.{c,h}) include them.
Marc-André Lureau [Thu, 8 Jan 2009 10:29:09 +0000 (12:29 +0200)]
build: introduce $SKIP_GIT for make dist (off-line or behind a proxy).
There might be a better way doing that, but 'alias git=echo' is not a
solution, :(
Marc-André Lureau [Thu, 8 Jan 2009 10:28:20 +0000 (12:28 +0200)]
build: Don't include builddir, but only srcdir.
I guess it used to be builddir because some of the files under
src/modules are generated. However, they are generated at dist time,
not at compile time.
Marc-André Lureau [Thu, 8 Jan 2009 09:56:16 +0000 (11:56 +0200)]
build: compile libltdl directory first
This change solves a compilation issue on maemo, and the "make dist"
on Debian with autofoo from "experimental" repositories.
Marc-André Lureau [Wed, 7 Jan 2009 14:33:43 +0000 (16:33 +0200)]
build: use pkg-config for X11
According to Daniel, AC_PATH_XTRA is sort-of deprecated.
This patch changes the configure arguments, --x-includes=dir and
--x-libraries=dir, which are now removed and use standard pkg-config.
It also replaces --with{,out}-x with --{dis,en}able-x11, which is the
same as other optionnal dependencies.
(this patch was done in an attempt to solve a build issue on maemo, it
turns out it didn't help)
Lennart Poettering [Thu, 8 Jan 2009 00:03:42 +0000 (01:03 +0100)]
Prefer mixer controls with volumes over switches
When we look for a mixer control prefer controls that have both volume
and a mute switch over those that have only a volume switch over those
that only have a mute switch.
Originally pointed out by Adel Gadllah.
Lennart Poettering [Thu, 8 Jan 2009 00:00:39 +0000 (01:00 +0100)]
-Wconvert is pain, let's drop it again
Fascist compiler options are sometimes nice, but this one is a real
Ober-Nazi. Let's get rid of it.
Sean McNamara [Wed, 7 Jan 2009 22:29:16 +0000 (23:29 +0100)]
--check: Updated manpage slightly and pulseaudio --help slightly.
It's good for new users - I didn't know about the convention for
daemon checks to only bump the exit code until, say, a year after I
first installed Linux. Of course, we could also put an entire guide to
using Linux in our manpage, or tell users how to check the exit code
with $?, or how to get to the terminal, or an example script, ... (you
can see how this would quickly get out of control). So just a little
bit more hint should be good for now. John? Does this work for you?
Sean
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Lennart Poettering [Wed, 7 Jan 2009 21:59:25 +0000 (22:59 +0100)]
Merge commit 'vudentz/master'
chocolateboy [Thu, 27 Nov 2008 22:48:23 +0000 (22:48 +0000)]
Fix typo in log message: s/Recevied/Received/
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Luiz Augusto von Dentz [Tue, 6 Jan 2009 14:02:16 +0000 (11:02 -0300)]
Fix sending wrong codec capability length.
Luiz Augusto von Dentz [Tue, 6 Jan 2009 14:00:44 +0000 (11:00 -0300)]
Fix send and recv message sizes.
Luiz Augusto von Dentz [Mon, 5 Jan 2009 22:12:43 +0000 (19:12 -0300)]
Send packets with proper size.
Tom Bamford [Sat, 20 Dec 2008 21:44:09 +0000 (23:44 +0200)]
Multicast SDP packets sent with same IP TTL as RTP packets
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Piotr Drąg [Tue, 30 Dec 2008 22:00:52 +0000 (22:00 +0000)]
Updated Polish translation
Transmitted-via: Transifex (translate.fedoraproject.org)
A S Alam [Wed, 24 Dec 2008 04:08:47 +0000 (04:08 +0000)]
Add Punjabi Translation for Module
Transmitted-via: Transifex (translate.fedoraproject.org)
Lennart Poettering [Tue, 23 Dec 2008 23:58:34 +0000 (00:58 +0100)]
Rework handling of the PA_SINK_LATENCY/PA_SOURCE_LATENCY flags
Lennart Poettering [Tue, 23 Dec 2008 23:57:37 +0000 (00:57 +0100)]
Implement base_volume for ALSA sinks/sources
Lennart Poettering [Tue, 23 Dec 2008 23:49:43 +0000 (00:49 +0100)]
Add "base volume" field to sinks/sources
Lennart Poettering [Tue, 23 Dec 2008 23:46:02 +0000 (00:46 +0100)]
Add APIs to pass pa_volume_t fields in a tagstruct
Lennart Poettering [Tue, 23 Dec 2008 23:45:06 +0000 (00:45 +0100)]
Add new API functions pa_volume_snprint() and pa_sw_volume_snprint_dB()
Lennart Poettering [Tue, 23 Dec 2008 17:31:12 +0000 (18:31 +0100)]
Merge commit 'vudentz/master'
Lennart Poettering [Tue, 23 Dec 2008 14:15:21 +0000 (15:15 +0100)]
fix a gcc warning
Lennart Poettering [Tue, 23 Dec 2008 14:14:28 +0000 (15:14 +0100)]
If we cannot open an ALSA device with SND_PCM_NO_AUTO_FORMAT retry without
This should fix compatibility with some sound cards which only support
24 bit packed samples.
Luiz Augusto von Dentz [Wed, 17 Dec 2008 20:19:22 +0000 (17:19 -0300)]
Update module-bluetooth-device to the new ipc.
Luiz Augusto von Dentz [Wed, 17 Dec 2008 13:47:08 +0000 (10:47 -0300)]
Disable warnings for bluetooth-device-module.
Lennart Poettering [Sun, 21 Dec 2008 16:55:29 +0000 (17:55 +0100)]
make sure we don't hit an assert when we issue two rewind requests in a
single iteration
Closes rhbz 472757.
Lennart Poettering [Sun, 21 Dec 2008 12:34:56 +0000 (13:34 +0100)]
Implement PA_SOURCE_MESSAGE_GET_LATENCY
The pipe source needs to implement PA_SOURCE_MESSAGE_GET_LATENCY since
we'll otherwise hit an assert.
Closes #424.
Lennart Poettering [Sun, 21 Dec 2008 12:33:32 +0000 (13:33 +0100)]
Use FIONREAD instead of TIOCINQ
On Linux the two ioctls FIONREAD and TIOCINQ share the same number.
However TIOCINQ is used for terminals while FIONREAD is used (among
others) for sockets and pipes. Hence use FIONREAD here since it seems
more appropriate.
Lennart Poettering [Thu, 18 Dec 2008 14:24:02 +0000 (15:24 +0100)]
Allow access("/dev/dsp", W_OK) succeed
Some stupid apps (such as X-lite Softphone) check for W_OK on /dev/dsp.
This is of course crazy but easy for us to support.
Closes rhbz #474313
Lennart Poettering [Thu, 18 Dec 2008 00:25:54 +0000 (01:25 +0100)]
Make sure we drop CAP_NICE if RT is not allowed
but make sure we still allow RT if RLIMIT_RTPRIO is properly set when PA
is called.
Lennart Poettering [Wed, 17 Dec 2008 21:58:17 +0000 (22:58 +0100)]
downgrade a few warnings
Lennart Poettering [Wed, 17 Dec 2008 20:32:40 +0000 (21:32 +0100)]
it's better to always use the index of a module instead of the pa_module*
Lennart Poettering [Wed, 17 Dec 2008 20:27:07 +0000 (21:27 +0100)]
unload tunnel modules from a new stack frame
Lennart Poettering [Wed, 17 Dec 2008 20:20:51 +0000 (21:20 +0100)]
actually unload the modules from a new stack frame
Lennart Poettering [Wed, 17 Dec 2008 20:19:53 +0000 (21:19 +0100)]
Don't store pointer to pa_module
pa_module pointers might become invalid at any time, so we use the
stable uin32_t index of the module for identifying or modules instead.
Lennart Poettering [Wed, 17 Dec 2008 20:19:34 +0000 (21:19 +0100)]
introduce new function pa_module_unload_request_by_index
Luiz Augusto von Dentz [Fri, 5 Dec 2008 18:47:37 +0000 (15:47 -0300)]
Fix bug walking on module list.
Lennart Poettering [Wed, 17 Dec 2008 20:03:17 +0000 (21:03 +0100)]
Don't hit an assert when checking for idleness
Closes #398
Lennart Poettering [Wed, 17 Dec 2008 19:30:01 +0000 (20:30 +0100)]
Load module-volume-restore and module-device-restore before all other modules
Since m-v-r and m-d-r become active in the FIXATE hooks for
stream/device creation we need to make sure the modules are loaded
before the first devices/streams are created.
Lennart Poettering [Wed, 17 Dec 2008 19:22:42 +0000 (20:22 +0100)]
Pass GDBM_NOLOCK to gdbm
gdbm still uses BSD lockf for locking which is incompatible with NFS.
Since we don't need the locking here since the db files in question
should never be accessed by more than one process since they are
per-home-dir and per-machine we can disable locking without any ill
results.
This should fix rhbz #471279.
Lennart Poettering [Wed, 17 Dec 2008 18:53:58 +0000 (19:53 +0100)]
Don't mix front-center into rear channels
If there's a center channel on input that is not available on output
make sure we mix front-center only into front-left/right and rear-center
into rear-left/right.
Closes #400
Lennart Poettering [Tue, 16 Dec 2008 18:11:16 +0000 (19:11 +0100)]
fix implementation of bind now ltdl loader for libtool 2.2
Lennart Poettering [Tue, 16 Dec 2008 17:17:21 +0000 (18:17 +0100)]
Fix return value of --dump-resample-methods
We should return 0 when --dump-resample-methods is called.
Problem identified by "hchen59".
Closes bug #407.
Lennart Poettering [Tue, 16 Dec 2008 13:25:31 +0000 (14:25 +0100)]
libtool 2.2 updates
Lennart Poettering [Tue, 16 Dec 2008 13:03:40 +0000 (14:03 +0100)]
Check if environ is actually set before we use it
Some applications seem to set **environ to NULL for various reasons.
Before we iterate through it we thus need to make sure it is actually
set to make sure we don't segfault.
Closes rhbz #473080
Lennart Poettering [Tue, 16 Dec 2008 12:55:06 +0000 (13:55 +0100)]
Merge commit 'flameeyes/libtool-2.2'
Timo Jyrinki [Mon, 1 Dec 2008 16:51:15 +0000 (16:51 +0000)]
Argh, send pulseaudio Finnish translation (instead of paprefs) by Timo Jyrinki.
Transmitted-via: Transifex (translate.fedoraproject.org)
Timo Jyrinki [Mon, 1 Dec 2008 16:43:35 +0000 (16:43 +0000)]
Add fi (Finnish) to LINGUAS.
Transmitted-via: Transifex (translate.fedoraproject.org)
Timo Jyrinki [Mon, 1 Dec 2008 16:41:55 +0000 (16:41 +0000)]
Add Finnish (fi) translation by Timo Jyrinki.
Transmitted-via: Transifex (translate.fedoraproject.org)