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
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)
sainrysec [Sun, 23 Nov 2008 12:12:04 +0000 (12:12 +0000)]
Only creat zh_CN.po
Transmitted-via: Transifex (translate.fedoraproject.org)
Henrique Junior [Fri, 21 Nov 2008 03:29:21 +0000 (03:29 +0000)]
Updated brazilian portuguese translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Piotr Drąg [Tue, 11 Nov 2008 16:17:30 +0000 (16:17 +0000)]
Updated Polish translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Xavier Conde [Fri, 7 Nov 2008 23:18:53 +0000 (23:18 +0000)]
Added catalan locale
Transmitted-via: Transifex (translate.fedoraproject.org)
Xavier Conde [Fri, 7 Nov 2008 23:17:30 +0000 (23:17 +0000)]
Added catalan translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Lennart Poettering [Sat, 1 Nov 2008 20:41:07 +0000 (21:41 +0100)]
make shm marker architecture independant, patch from michich, closes #401
Lennart Poettering [Sat, 1 Nov 2008 20:11:48 +0000 (21:11 +0100)]
Make sure libpulse never gets unloaded
When an .so is unloaded during runtime all TLS keys it has registered
need to be freed because the destructor callbacks of the TLS key might
otherwise point to invalid code. Hence it would appear sensible to
destruct the TLS keys from a function marked as __attribute__
((destructor)). However functions marked like that are also called when
an application terminates, on exit(). If a thread continues to run until
the very exit it might still want to access that TLS data. The
destructor functions are called while all other threads are still
running. If __attribute ((destructor)) is used to destruct TLS keys for
such threads this might hence cause a crash when the application shuts
down.
To circumvent this problem we'll now compile libpulse with -z nodelete,
to make it unnecessary to delete the TLS data ever and thus avoiding the
problem. It's suboptimal, but for now I see no better solution.
Lennart Poettering [Sat, 1 Nov 2008 20:10:26 +0000 (21:10 +0100)]
a bit of pa_bool_t'ization
Lennart Poettering [Sun, 26 Oct 2008 18:32:04 +0000 (19:32 +0100)]
Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED
Lennart Poettering [Sat, 25 Oct 2008 15:45:21 +0000 (17:45 +0200)]
bump micro version
Lennart Poettering [Fri, 24 Oct 2008 23:23:02 +0000 (01:23 +0200)]
Merge branch 'new-world-order'
Conflicts:
src/Makefile.am
Lennart Poettering [Fri, 24 Oct 2008 02:34:10 +0000 (04:34 +0200)]
make sure to use 64bit rounding even on 32bit machines when converting to pa_usec_t
Lennart Poettering [Wed, 22 Oct 2008 21:55:52 +0000 (23:55 +0200)]
warn if ALSA wakes us up and there is actually nothing to do
Lennart Poettering [Wed, 22 Oct 2008 20:48:53 +0000 (22:48 +0200)]
don't set the volume of pacat unless it is explicitly set
Lennart Poettering [Wed, 22 Oct 2008 00:22:19 +0000 (02:22 +0200)]
update map file
Lennart Poettering [Tue, 21 Oct 2008 20:05:13 +0000 (22:05 +0200)]
reorder setting of AM_CFLAGS a bit
Lennart Poettering [Wed, 22 Oct 2008 18:36:21 +0000 (20:36 +0200)]
a lot more build system updates
Lennart Poettering [Wed, 22 Oct 2008 00:22:40 +0000 (02:22 +0200)]
make new build logic actually work
Lennart Poettering [Wed, 22 Oct 2008 00:22:19 +0000 (02:22 +0200)]
update map file
Fabian Affolter [Tue, 21 Oct 2008 23:00:07 +0000 (23:00 +0000)]
Updated German translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Lennart Poettering [Tue, 21 Oct 2008 21:55:33 +0000 (23:55 +0200)]
temporary commit to allow flameeyes a look
Lennart Poettering [Tue, 21 Oct 2008 20:05:13 +0000 (22:05 +0200)]
reorder setting of AM_CFLAGS a bit
Lennart Poettering [Tue, 21 Oct 2008 20:04:22 +0000 (22:04 +0200)]
make the debug trap macro a proper macro in macro.h
Lennart Poettering [Tue, 21 Oct 2008 18:00:36 +0000 (20:00 +0200)]
Try to catch certain driver errors
... by verifying return values of snd_pcm_avail_update() and
snd_pcm_begin_mmap() for their sanenness.
Lennart Poettering [Tue, 21 Oct 2008 17:16:49 +0000 (19:16 +0200)]
make log meta, time, backtrace configurable using command line
Lennart Poettering [Tue, 21 Oct 2008 17:15:41 +0000 (19:15 +0200)]
Make log meta, time, backtrace configurable using config file
Lennart Poettering [Tue, 21 Oct 2008 17:14:07 +0000 (19:14 +0200)]
support changing logging parameters during runtime using the CLI
Lennart Poettering [Tue, 21 Oct 2008 17:13:15 +0000 (19:13 +0200)]
Support showing a backtrace on log messages
Lennart Poettering [Tue, 21 Oct 2008 16:40:01 +0000 (18:40 +0200)]
include log.h near the end so that macro.h can be included in log.h and defines pa_bool_t properly
Lennart Poettering [Tue, 21 Oct 2008 16:38:55 +0000 (18:38 +0200)]
add pa_config_parse_unsigned()
Lennart Poettering [Tue, 21 Oct 2008 16:28:19 +0000 (18:28 +0200)]
fix arguments to format string
Lennart Poettering [Tue, 21 Oct 2008 16:27:25 +0000 (18:27 +0200)]
convert argument to boolean int in PA_UNLIKELY, too
Lennart Poettering [Tue, 21 Oct 2008 16:26:24 +0000 (18:26 +0200)]
fix return value of pa_frame_aligned()
Lennart Poettering [Tue, 21 Oct 2008 16:25:26 +0000 (18:25 +0200)]
implement may_move_to for ladspa/remap sinks