Commit graph

3134 commits

Author SHA1 Message Date
Piotr Drąg
cf3abcdbda Updated Polish translation
Transmitted-via: Transifex (translate.fedoraproject.org)
2009-01-09 21:18:23 +00:00
Lennart Poettering
7ca0f384c8 run "make update-po" 2009-01-08 19:37:29 +01:00
Lennart Poettering
6b9056c61a Merge commit 'origin/master-tx' 2009-01-08 19:35:58 +01:00
Marc-André Lureau
a1a1119afe build: fix missing x11 modules dependencies 2009-01-08 19:38:38 +02:00
Marc-André Lureau
7e6309c77c 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.
2009-01-08 19:17:37 +02:00
Marc-André Lureau
d096ad78d3 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.
2009-01-08 19:16:59 +02:00
Marc-André Lureau
8e200ed0ce 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)
2009-01-08 17:21:10 +02:00
Marc-André Lureau
de57edd5d8 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...
2009-01-08 15:12:25 +02:00
Marc-André Lureau
c8b3d8b79c 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.
2009-01-08 15:12:25 +02:00
Marc-André Lureau
db193f1720 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, :(
2009-01-08 15:12:25 +02:00
Marc-André Lureau
a206ac0fb5 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.
2009-01-08 15:11:39 +02:00
Marc-André Lureau
e92b0ae3f0 build: compile libltdl directory first
This change solves a compilation issue on maemo, and the "make dist"
on Debian with autofoo from "experimental" repositories.
2009-01-08 14:59:17 +02:00
Marc-André Lureau
dd9ca70759 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)
2009-01-08 11:52:02 +02:00
Lennart Poettering
c2450501af 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.
2009-01-08 01:03:42 +01:00
Lennart Poettering
e67bc1d752 -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.
2009-01-08 01:00:39 +01:00
Sean McNamara
81cd21969a --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>
2009-01-07 23:30:02 +01:00
Lennart Poettering
2f681a3d18 Merge commit 'vudentz/master' 2009-01-07 22:59:25 +01:00
chocolateboy
78e636e629 Fix typo in log message: s/Recevied/Received/
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-07 03:08:40 +01:00
Luiz Augusto von Dentz
e7e6f86bbe Fix sending wrong codec capability length. 2009-01-06 11:02:16 -03:00
Luiz Augusto von Dentz
1a96c9b0a6 Fix send and recv message sizes. 2009-01-06 11:00:44 -03:00
Luiz Augusto von Dentz
be49c92a38 Send packets with proper size. 2009-01-05 19:12:43 -03:00
Tom Bamford
fe2b8c359b Multicast SDP packets sent with same IP TTL as RTP packets
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-05 19:56:01 +01:00
Piotr Drąg
17ae579cc7 Updated Polish translation
Transmitted-via: Transifex (translate.fedoraproject.org)
2008-12-30 22:00:52 +00:00
A S Alam
cb5af193ab Add Punjabi Translation for Module
Transmitted-via: Transifex (translate.fedoraproject.org)
2008-12-24 04:08:47 +00:00
Lennart Poettering
f24e4c19c3 Merge commit 'vudentz/master' 2008-12-23 18:31:12 +01:00
Lennart Poettering
c2bd8dc517 fix a gcc warning 2008-12-23 15:15:21 +01:00
Lennart Poettering
22c3373713 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.
2008-12-23 15:14:28 +01:00
Luiz Augusto von Dentz
7323e1a0a8 Update module-bluetooth-device to the new ipc. 2008-12-22 14:24:07 -03:00
Luiz Augusto von Dentz
5db081a898 Disable warnings for bluetooth-device-module. 2008-12-22 14:24:06 -03:00
Lennart Poettering
03aa91dea7 make sure we don't hit an assert when we issue two rewind requests in a
single iteration

Closes rhbz 472757.
2008-12-21 17:55:29 +01:00
Lennart Poettering
606c9caa0b 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.
2008-12-21 13:34:56 +01:00
Lennart Poettering
10cc4ba1ca 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.
2008-12-21 13:33:32 +01:00
Lennart Poettering
63fc26ed03 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
2008-12-18 15:24:02 +01:00
Lennart Poettering
1d2e5cba52 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.
2008-12-18 01:25:54 +01:00
Lennart Poettering
d71d79cd45 downgrade a few warnings 2008-12-17 22:58:17 +01:00
Lennart Poettering
906d06bd24 it's better to always use the index of a module instead of the pa_module* 2008-12-17 21:32:40 +01:00
Lennart Poettering
f5d40fa448 unload tunnel modules from a new stack frame 2008-12-17 21:27:07 +01:00
Lennart Poettering
b95539b18b actually unload the modules from a new stack frame 2008-12-17 21:20:51 +01:00
Lennart Poettering
86c6fd85f1 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.
2008-12-17 21:19:53 +01:00
Lennart Poettering
c5b8eb7edf introduce new function pa_module_unload_request_by_index 2008-12-17 21:19:34 +01:00
Luiz Augusto von Dentz
dcd498c5ad Fix bug walking on module list. 2008-12-17 21:06:46 +01:00
Lennart Poettering
82f09b6d8f Don't hit an assert when checking for idleness
Closes #398
2008-12-17 21:03:17 +01:00
Lennart Poettering
cb6a919730 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.
2008-12-17 20:30:01 +01:00
Lennart Poettering
3f20a152be 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.
2008-12-17 20:22:42 +01:00
Lennart Poettering
209a8d7b55 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
2008-12-17 19:53:58 +01:00
Lennart Poettering
b8fe1b683e fix implementation of bind now ltdl loader for libtool 2.2 2008-12-16 19:11:16 +01:00
Lennart Poettering
e4aa5f2115 Fix return value of --dump-resample-methods
We should return 0 when --dump-resample-methods is called.

Problem identified by "hchen59".

Closes bug #407.
2008-12-16 18:17:21 +01:00
Lennart Poettering
8977b2e61d libtool 2.2 updates 2008-12-16 14:25:31 +01:00
Lennart Poettering
7013849354 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
2008-12-16 14:03:40 +01:00
Lennart Poettering
2ee9276d97 Merge commit 'flameeyes/libtool-2.2' 2008-12-16 13:55:06 +01:00