Diego E. 'Flameeyes' Pettenò [Mon, 19 Jan 2009 16:30:41 +0000 (17:30 +0100)]
Add proper -I directives for out-of-tree builds.
When building out of tree, the generated files are put in builddir rather
than srcdir, so handle that properly.
Diego E. 'Flameeyes' Pettenò [Mon, 19 Jan 2009 16:20:18 +0000 (17:20 +0100)]
Create only the directory the current target should be created into.
With this change, instead of running multiple `mkdir -p` commands in all
the rules for all the generated definition files, only the call for the
current generated file is executed.
Not only it should shorten build time (especially for parallel make) but it
also fixes out-of-tree builds when new directories are added.
The $(dir $@) construct is GNU make-specific, but the rest of the
buildsystem is already GNU make-dependent so there should be no problem.
Lennart Poettering [Fri, 16 Jan 2009 18:57:58 +0000 (19:57 +0100)]
make use of PR_SET_TIMERSLACK
Lennart Poettering [Fri, 16 Jan 2009 17:39:36 +0000 (18:39 +0100)]
Add support for 24bit samples encoded in the LSB of 32 bit words
Lennart Poettering [Fri, 16 Jan 2009 02:15:39 +0000 (03:15 +0100)]
add support for 24bit packed samples
Lennart Poettering [Fri, 16 Jan 2009 02:13:42 +0000 (03:13 +0100)]
fix version info in protocol history
Lennart Poettering [Thu, 15 Jan 2009 22:46:42 +0000 (23:46 +0100)]
Add SPDIF/HDMI ALSA devices and device descriptions to device search table
Lennart Poettering [Thu, 15 Jan 2009 22:44:46 +0000 (23:44 +0100)]
rename card config to card profile
Lennart Poettering [Thu, 15 Jan 2009 20:29:18 +0000 (21:29 +0100)]
include libcli.la in libprotocol-cli's dependencies
Lennart Poettering [Thu, 15 Jan 2009 20:03:32 +0000 (21:03 +0100)]
add stub makefiles for oss and alsa subdirs
Lennart Poettering [Thu, 15 Jan 2009 20:02:01 +0000 (21:02 +0100)]
move alsa and oss modules into their own subdirectories
Lennart Poettering [Thu, 15 Jan 2009 19:49:12 +0000 (20:49 +0100)]
rework module usage counter stuff to be pull based
Lennart Poettering [Thu, 15 Jan 2009 19:48:29 +0000 (20:48 +0100)]
don't show autoload flag anymore since it is obsolete
Lennart Poettering [Thu, 15 Jan 2009 19:27:07 +0000 (20:27 +0100)]
make proplist inheritance scheme automatic and implicit
Lennart Poettering [Thu, 15 Jan 2009 19:26:41 +0000 (20:26 +0100)]
make things compile again
Lennart Poettering [Thu, 15 Jan 2009 19:14:58 +0000 (20:14 +0100)]
we don't support glib1.2 anymore
Lennart Poettering [Thu, 15 Jan 2009 19:07:13 +0000 (20:07 +0100)]
kill autoload stuff as planned
Marc-André Lureau [Mon, 10 Nov 2008 13:43:05 +0000 (15:43 +0200)]
flat-volume: use pa_sink_get_volume(s, TRUE) to work with slaved sink
Lennart Poettering [Thu, 15 Jan 2009 18:19:45 +0000 (19:19 +0100)]
Lennart Poettering [Thu, 15 Jan 2009 18:16:55 +0000 (19:16 +0100)]
redirect folks to the ALSA developers not me when their sound drivers are broken
Lennart Poettering [Thu, 15 Jan 2009 17:52:11 +0000 (18:52 +0100)]
add functionality to dump list of cards
Lennart Poettering [Thu, 15 Jan 2009 17:38:20 +0000 (18:38 +0100)]
maintain a list of sink inputs/source outputs as part of the pa_client object
Lennart Poettering [Thu, 15 Jan 2009 17:29:16 +0000 (18:29 +0100)]
add new pa_card object as a way to logically combine multiple sinks and sources
Lennart Poettering [Thu, 15 Jan 2009 17:27:43 +0000 (18:27 +0100)]
fix bad memory access
Lennart Poettering [Thu, 15 Jan 2009 17:23:32 +0000 (18:23 +0100)]
make PA_CONTEXT_IS_GOOD/PA_STREAM_IS_GOOD a macro so that we can easily check for its availability
Lennart Poettering [Thu, 15 Jan 2009 17:21:57 +0000 (18:21 +0100)]
port missing modules to new pa_client_new() API
Lennart Poettering [Thu, 15 Jan 2009 16:52:29 +0000 (17:52 +0100)]
convert pa_client instantiation to use a pa_client_new_data struct and add hooks for manipulating it
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
Marc-André Lureau [Mon, 17 Nov 2008 19:37:25 +0000 (21:37 +0200)]
match: add "key" argument to match different properties
Marc-André Lureau [Mon, 17 Nov 2008 19:09:42 +0000 (21:09 +0200)]
match: can now change properties also
Marc-André Lureau [Mon, 10 Nov 2008 14:59:09 +0000 (16:59 +0200)]
sink: add a virtual_volume to sink
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