Commit graph

3201 commits

Author SHA1 Message Date
Lennart Poettering
947a828943 fix version check 2009-01-12 19:33:38 +01:00
Lennart Poettering
b6804eefea Make sure we don't drop any data on the client side 2009-01-10 03:33:27 +01:00
Lennart Poettering
8a3dc57df2 make module-sine-source actually work 2009-01-10 03:33:10 +01:00
Lennart Poettering
4e8ada521a show maximum usable slot size 2009-01-10 02:55:57 +01:00
Lennart Poettering
c850aa0c5b Add new pa_reduce() and pa_gcd() functions 2009-01-10 02:53:57 +01:00
Piotr Drąg
cf3abcdbda Updated Polish translation
Transmitted-via: Transifex (translate.fedoraproject.org)
2009-01-09 21:18:23 +00:00
Lennart Poettering
98049fbf81 make things compile again 2009-01-08 23:31:05 +01:00
Lennart Poettering
7b52840adc add a few missing parens 2009-01-08 23:30:51 +01:00
Lennart Poettering
5daf141683 drop a few warning options, add a few new ones 2009-01-08 23:30:10 +01:00
Lennart Poettering
c2002dcd1f Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio 2009-01-08 21:18:15 +01:00
Lennart Poettering
9fc726c6d7 Add new test source module-sine-source 2009-01-08 21:17:58 +01:00
Lennart Poettering
e5c093897e A few minor cleanups and updates 2009-01-08 21:13:18 +01:00
Lennart Poettering
aff7768fb1 Add new debuuging API pa_memchunk_dump_to_file() 2009-01-08 21:12:03 +01: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
2ff20ceccb Rework handling of the PA_SINK_LATENCY/PA_SOURCE_LATENCY flags 2008-12-24 00:58:34 +01:00
Lennart Poettering
fb4c111d18 Implement base_volume for ALSA sinks/sources 2008-12-24 00:57:37 +01:00
Lennart Poettering
6130c5c11b Add "base volume" field to sinks/sources 2008-12-24 00:49:43 +01:00
Lennart Poettering
3e3c103ed9 Add APIs to pass pa_volume_t fields in a tagstruct 2008-12-24 00:46:02 +01:00
Lennart Poettering
6342053b34 Add new API functions pa_volume_snprint() and pa_sw_volume_snprint_dB() 2008-12-24 00:45:06 +01: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