profile/ivi/pulseaudio-panda.git
15 years agoMerge commit 'e0f8ffe41f99789fafac575e944acf02e940bbf7'
Lennart Poettering [Thu, 15 Jan 2009 18:19:45 +0000 (19:19 +0100)]
Merge commit 'e0f8ffe41f99789fafac575e944acf02e940bbf7'

15 years agoredirect folks to the ALSA developers not me when their sound drivers are broken
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

15 years agoadd functionality to dump list of cards
Lennart Poettering [Thu, 15 Jan 2009 17:52:11 +0000 (18:52 +0100)]
add functionality to dump list of cards

15 years agomaintain a list of sink inputs/source outputs as part of the pa_client object
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

15 years agoadd new pa_card object as a way to logically combine multiple sinks and sources
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

15 years agofix bad memory access
Lennart Poettering [Thu, 15 Jan 2009 17:27:43 +0000 (18:27 +0100)]
fix bad memory access

15 years agomake PA_CONTEXT_IS_GOOD/PA_STREAM_IS_GOOD a macro so that we can easily check for...
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

15 years agoport missing modules to new pa_client_new() API
Lennart Poettering [Thu, 15 Jan 2009 17:21:57 +0000 (18:21 +0100)]
port missing modules to new pa_client_new() API

15 years agoconvert pa_client instantiation to use a pa_client_new_data struct and add hooks...
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

15 years agoadd new dont_rewind_render flag to allow quick starts of newly created streams
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

15 years agodon't rely on PA_SINK_RUNNING vs. PA_SINK_IDLE for optimizations since it might not...
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

15 years agofix a potential format string vulnerability
Lennart Poettering [Wed, 14 Jan 2009 23:03:56 +0000 (00:03 +0100)]
fix a potential format string vulnerability

15 years agodocument that PA_API_VERSION is only for incompatible API changes
Lennart Poettering [Wed, 14 Jan 2009 23:03:33 +0000 (00:03 +0100)]
document that PA_API_VERSION is only for incompatible API changes

15 years agomatch: add "key" argument to match different properties
Marc-André Lureau [Mon, 17 Nov 2008 19:37:25 +0000 (21:37 +0200)]
match: add "key" argument to match different properties

15 years agomatch: can now change properties also
Marc-André Lureau [Mon, 17 Nov 2008 19:09:42 +0000 (21:09 +0200)]
match: can now change properties also

15 years agosink: add a virtual_volume to sink
Marc-André Lureau [Mon, 10 Nov 2008 14:59:09 +0000 (16:59 +0200)]
sink: add a virtual_volume to sink

15 years agomake pa_asyncq_push() fail under no circumstances.
Lennart Poettering [Wed, 14 Jan 2009 16:36:44 +0000 (17:36 +0100)]
make pa_asyncq_push() fail under no circumstances.

15 years agoFix a typo I know owe Marc-Andre a beer for.
Lennart Poettering [Tue, 13 Jan 2009 23:54:38 +0000 (00:54 +0100)]
Fix a typo I know owe Marc-Andre a beer for.

15 years agoFix a potentially non-returning function in base64 code.
Colin Guthrie [Tue, 13 Jan 2009 23:34:09 +0000 (23:34 +0000)]
Fix a potentially non-returning function in base64 code.

15 years agoMerge commit 'elmarco/master'
Lennart Poettering [Tue, 13 Jan 2009 23:22:27 +0000 (00:22 +0100)]
Merge commit 'elmarco/master'

15 years agoremove calc_sine() since we don't need it anymore
Lennart Poettering [Tue, 13 Jan 2009 23:07:50 +0000 (00:07 +0100)]
remove calc_sine() since we don't need it anymore

15 years agoinclude new proplist functions in export list
Lennart Poettering [Tue, 13 Jan 2009 23:07:32 +0000 (00:07 +0100)]
include new proplist functions in export list

15 years agofix calculation of avail_min
Lennart Poettering [Tue, 13 Jan 2009 23:06:40 +0000 (00:06 +0100)]
fix calculation of avail_min

15 years agoadd pa_proplist_size() and pa_proplist_isempty()
Lennart Poettering [Tue, 13 Jan 2009 23:06:26 +0000 (00:06 +0100)]
add pa_proplist_size() and pa_proplist_isempty()

15 years agoFix version info
Lennart Poettering [Tue, 13 Jan 2009 23:05:54 +0000 (00:05 +0100)]
Fix version info

15 years agobuild: fix few warnings
Marc-André Lureau [Tue, 13 Jan 2009 17:08:22 +0000 (19:08 +0200)]
build: fix few warnings

15 years agocli: add missing update-*-proplist
Marc-André Lureau [Tue, 13 Jan 2009 17:07:59 +0000 (19:07 +0200)]
cli: add missing update-*-proplist

15 years agocore: add source, si, so proplist_update
Marc-André Lureau [Tue, 13 Jan 2009 17:06:10 +0000 (19:06 +0200)]
core: add source, si, so proplist_update

15 years agobuild: print more informations about preopen
Marc-André Lureau [Mon, 10 Nov 2008 17:11:40 +0000 (19:11 +0200)]
build: print more informations about preopen

15 years agocli: update-sink-proplist
Marc-André Lureau [Fri, 31 Oct 2008 16:43:38 +0000 (18:43 +0200)]
cli: update-sink-proplist

15 years agolibpulse: add proplist_from_string
Marc-André Lureau [Mon, 27 Oct 2008 19:14:50 +0000 (21:14 +0200)]
libpulse: add proplist_from_string

15 years agocore: report remaining shared objects when cleanup
Marc-André Lureau [Thu, 4 Dec 2008 14:23:06 +0000 (16:23 +0200)]
core: report remaining shared objects when cleanup

15 years agocore: add pa_source_update_proplist
Marc-André Lureau [Fri, 31 Oct 2008 00:38:00 +0000 (02:38 +0200)]
core: add pa_source_update_proplist

15 years agocore: add pa_sink_update_proplist
Marc-André Lureau [Fri, 31 Oct 2008 00:33:28 +0000 (02:33 +0200)]
core: add pa_sink_update_proplist

15 years agobump version/soname
Lennart Poettering [Mon, 12 Jan 2009 22:36:28 +0000 (23:36 +0100)]
bump version/soname

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Mon, 12 Jan 2009 19:01:59 +0000 (20:01 +0100)]
Merge commit 'origin/master-tx'

15 years agoPort sine modules to pa_memchunk_sine()
Lennart Poettering [Mon, 12 Jan 2009 18:49:50 +0000 (19:49 +0100)]
Port sine modules to pa_memchunk_sine()

15 years agoadd new API function 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.

15 years agoExtend command name lookup tables to cover complete protocol
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.

15 years agoFix suspending of all sinks/sources
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.

15 years agoread base volume only in proto 15
Lennart Poettering [Mon, 12 Jan 2009 18:44:08 +0000 (19:44 +0100)]
read base volume only in proto 15

15 years agofor record streams fill in the latency as the fragsize
Lennart Poettering [Mon, 12 Jan 2009 18:34:12 +0000 (19:34 +0100)]
for record streams fill in the latency as the fragsize

15 years agofix version check
Lennart Poettering [Mon, 12 Jan 2009 18:33:38 +0000 (19:33 +0100)]
fix version check

15 years agoMake sure we don't drop any data on the client side
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

15 years agomake module-sine-source actually work
Lennart Poettering [Sat, 10 Jan 2009 02:33:10 +0000 (03:33 +0100)]
make module-sine-source actually work

15 years agoshow maximum usable slot size
Lennart Poettering [Sat, 10 Jan 2009 01:55:57 +0000 (02:55 +0100)]
show maximum usable slot size

15 years agoAdd new pa_reduce() and pa_gcd() functions
Lennart Poettering [Sat, 10 Jan 2009 01:53:57 +0000 (02:53 +0100)]
Add new pa_reduce() and pa_gcd() functions

15 years agoUpdated Polish translation
Piotr Drąg [Fri, 9 Jan 2009 21:18:23 +0000 (21:18 +0000)]
Updated Polish translation

Transmitted-via: Transifex (translate.fedoraproject.org)

15 years agomake things compile again
Lennart Poettering [Thu, 8 Jan 2009 22:31:05 +0000 (23:31 +0100)]
make things compile again

15 years agoadd a few missing parens
Lennart Poettering [Thu, 8 Jan 2009 22:30:51 +0000 (23:30 +0100)]
add a few missing parens

15 years agodrop a few warning options, add a few new ones
Lennart Poettering [Thu, 8 Jan 2009 22:30:10 +0000 (23:30 +0100)]
drop a few warning options, add a few new ones

15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Thu, 8 Jan 2009 20:18:15 +0000 (21:18 +0100)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

15 years agoAdd new test source module-sine-source
Lennart Poettering [Thu, 8 Jan 2009 20:17:58 +0000 (21:17 +0100)]
Add new test source module-sine-source

15 years agoA few minor cleanups and updates
Lennart Poettering [Thu, 8 Jan 2009 20:13:18 +0000 (21:13 +0100)]
A few minor cleanups and updates

15 years agoAdd new debuuging API pa_memchunk_dump_to_file()
Lennart Poettering [Thu, 8 Jan 2009 20:12:03 +0000 (21:12 +0100)]
Add new debuuging API pa_memchunk_dump_to_file()

15 years agorun "make update-po"
Lennart Poettering [Thu, 8 Jan 2009 18:37:29 +0000 (19:37 +0100)]
run "make update-po"

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Thu, 8 Jan 2009 18:35:58 +0000 (19:35 +0100)]
Merge commit 'origin/master-tx'

15 years agobuild: fix missing x11 modules dependencies
Marc-André Lureau [Thu, 8 Jan 2009 17:38:38 +0000 (19:38 +0200)]
build: fix missing x11 modules dependencies

15 years agobluetooth: Update sbc from git upstream.
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.

15 years agobluetooth: add update-sbc and friends
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.

15 years agobuild: run some tests during make check (and distcheck)
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)

15 years agobuild: Use proper -disable-static instead of removing .a
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...

15 years agobuild: add atomic.h and refcnt.h to libpulsecommon
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.

15 years agobuild: introduce $SKIP_GIT for make dist (off-line or behind a proxy).
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, :(

15 years agobuild: Don't include builddir, but only srcdir.
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.

15 years agobuild: compile libltdl directory first
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.

15 years agobuild: use pkg-config for X11
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)

15 years agoPrefer mixer controls with volumes over switches
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.

15 years ago-Wconvert is pain, let's drop it again
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.

15 years ago--check: Updated manpage slightly and pulseaudio --help slightly.
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>
15 years agoMerge commit 'vudentz/master'
Lennart Poettering [Wed, 7 Jan 2009 21:59:25 +0000 (22:59 +0100)]
Merge commit 'vudentz/master'

15 years agoFix typo in log message: s/Recevied/Received/
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>
15 years agoFix sending wrong codec capability length.
Luiz Augusto von Dentz [Tue, 6 Jan 2009 14:02:16 +0000 (11:02 -0300)]
Fix sending wrong codec capability length.

15 years agoFix send and recv message sizes.
Luiz Augusto von Dentz [Tue, 6 Jan 2009 14:00:44 +0000 (11:00 -0300)]
Fix send and recv message sizes.

15 years agoSend packets with proper size.
Luiz Augusto von Dentz [Mon, 5 Jan 2009 22:12:43 +0000 (19:12 -0300)]
Send packets with proper size.

15 years agoMulticast SDP packets sent with same IP TTL as RTP packets
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>
15 years agoUpdated Polish translation
Piotr Drąg [Tue, 30 Dec 2008 22:00:52 +0000 (22:00 +0000)]
Updated Polish translation

Transmitted-via: Transifex (translate.fedoraproject.org)

15 years agoAdd Punjabi Translation for Module
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)

15 years agoRework handling of the PA_SINK_LATENCY/PA_SOURCE_LATENCY flags
Lennart Poettering [Tue, 23 Dec 2008 23:58:34 +0000 (00:58 +0100)]
Rework handling of the PA_SINK_LATENCY/PA_SOURCE_LATENCY flags

15 years agoImplement base_volume for ALSA sinks/sources
Lennart Poettering [Tue, 23 Dec 2008 23:57:37 +0000 (00:57 +0100)]
Implement base_volume for ALSA sinks/sources

15 years agoAdd "base volume" field to sinks/sources
Lennart Poettering [Tue, 23 Dec 2008 23:49:43 +0000 (00:49 +0100)]
Add "base volume" field to sinks/sources

15 years agoAdd APIs to pass pa_volume_t fields in a tagstruct
Lennart Poettering [Tue, 23 Dec 2008 23:46:02 +0000 (00:46 +0100)]
Add APIs to pass pa_volume_t fields in a tagstruct

15 years agoAdd new API functions pa_volume_snprint() and pa_sw_volume_snprint_dB()
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()

15 years agoMerge commit 'vudentz/master'
Lennart Poettering [Tue, 23 Dec 2008 17:31:12 +0000 (18:31 +0100)]
Merge commit 'vudentz/master'

15 years agofix a gcc warning
Lennart Poettering [Tue, 23 Dec 2008 14:15:21 +0000 (15:15 +0100)]
fix a gcc warning

15 years agoIf we cannot open an ALSA device with SND_PCM_NO_AUTO_FORMAT retry without
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.

15 years agoUpdate module-bluetooth-device to the new ipc.
Luiz Augusto von Dentz [Wed, 17 Dec 2008 20:19:22 +0000 (17:19 -0300)]
Update module-bluetooth-device to the new ipc.

15 years agoDisable warnings for bluetooth-device-module.
Luiz Augusto von Dentz [Wed, 17 Dec 2008 13:47:08 +0000 (10:47 -0300)]
Disable warnings for bluetooth-device-module.

15 years agomake sure we don't hit an assert when we issue two rewind requests in a
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.

15 years agoImplement PA_SOURCE_MESSAGE_GET_LATENCY
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.

15 years agoUse FIONREAD instead of TIOCINQ
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.

15 years agoAllow access("/dev/dsp", W_OK) succeed
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

15 years agoMake sure we drop CAP_NICE if RT is not allowed
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.

15 years agodowngrade a few warnings
Lennart Poettering [Wed, 17 Dec 2008 21:58:17 +0000 (22:58 +0100)]
downgrade a few warnings

15 years agoit's better to always use the index of a module instead of the pa_module*
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*

15 years agounload tunnel modules from a new stack frame
Lennart Poettering [Wed, 17 Dec 2008 20:27:07 +0000 (21:27 +0100)]
unload tunnel modules from a new stack frame

15 years agoactually unload the 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

15 years agoDon't store pointer to pa_module
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.

15 years agointroduce new function pa_module_unload_request_by_index
Lennart Poettering [Wed, 17 Dec 2008 20:19:34 +0000 (21:19 +0100)]
introduce new function pa_module_unload_request_by_index

15 years agoFix bug walking on module list.
Luiz Augusto von Dentz [Fri, 5 Dec 2008 18:47:37 +0000 (15:47 -0300)]
Fix bug walking on module list.