profile/ivi/pulseaudio.git
15 years agobump required alsa version
Lennart Poettering [Wed, 18 Feb 2009 20:44:30 +0000 (21:44 +0100)]
bump required alsa version

15 years agodon't open the alsa devices in hw:xxx mode
Lennart Poettering [Sun, 15 Feb 2009 19:34:38 +0000 (20:34 +0100)]
don't open the alsa devices in hw:xxx mode

15 years agounify ALSA mixer initialization
Lennart Poettering [Fri, 13 Feb 2009 23:21:36 +0000 (00:21 +0100)]
unify ALSA mixer initialization

15 years agoadd doxygen comment for PA_GCC_WEAKREF
Lennart Poettering [Fri, 13 Feb 2009 22:06:41 +0000 (23:06 +0100)]
add doxygen comment for PA_GCC_WEAKREF

15 years agodocument all currently known properties
Lennart Poettering [Fri, 13 Feb 2009 22:01:24 +0000 (23:01 +0100)]
document all currently known properties

15 years agoOptionally disable IPv6
Iain Hibbert [Fri, 13 Feb 2009 20:58:09 +0000 (21:58 +0100)]
Optionally disable IPv6

Closes #79

15 years agoshow whether gtk+ support is enabled after configure
Lennart Poettering [Fri, 13 Feb 2009 20:57:27 +0000 (21:57 +0100)]
show whether gtk+ support is enabled after configure

15 years agoignore gtk-test
Lennart Poettering [Fri, 13 Feb 2009 20:57:00 +0000 (21:57 +0100)]
ignore gtk-test

15 years agoproperly read icon/application name/display from gtk/glib/gdk
Lennart Poettering [Fri, 13 Feb 2009 17:19:10 +0000 (18:19 +0100)]
properly read icon/application name/display from gtk/glib/gdk

15 years agomake PULSE_PROP env vars non-overriding but introduce PULSE_PROP_OVERRIDE for allowin...
Lennart Poettering [Fri, 13 Feb 2009 17:06:30 +0000 (18:06 +0100)]
make PULSE_PROP env vars non-overriding but introduce PULSE_PROP_OVERRIDE for allowing overriding

15 years agoadd definition for GCC style weak references
Lennart Poettering [Fri, 13 Feb 2009 17:03:21 +0000 (18:03 +0100)]
add definition for GCC style weak references

15 years agomake PA_GCC_PACKED and PA_GCC_MALLOC actually work
Lennart Poettering [Fri, 13 Feb 2009 17:02:47 +0000 (18:02 +0100)]
make PA_GCC_PACKED and PA_GCC_MALLOC actually work

15 years agodrop check for PA_PROP_APPLICATION_NAME since often enough we can deduce this better...
Lennart Poettering [Fri, 13 Feb 2009 17:01:00 +0000 (18:01 +0100)]
drop check for PA_PROP_APPLICATION_NAME since often enough we can deduce this better from g_get_application_name()

15 years agowe reinit proplist since the server will copy from client proplist anyway
Lennart Poettering [Fri, 13 Feb 2009 16:59:53 +0000 (17:59 +0100)]
we reinit proplist since the server will copy from client proplist anyway

15 years agofix aiff channel mapping for 6 channels
Lennart Poettering [Fri, 13 Feb 2009 14:48:34 +0000 (15:48 +0100)]
fix aiff channel mapping for 6 channels

15 years agoadd a module that forwards cork/uncork requests to X11 as fake pause/resume key events
Lennart Poettering [Fri, 13 Feb 2009 01:39:07 +0000 (02:39 +0100)]
add a module that forwards cork/uncork requests to X11 as fake pause/resume key events

15 years agoadd full set of argument description
Lennart Poettering [Thu, 12 Feb 2009 22:14:24 +0000 (23:14 +0100)]
add full set of argument description

15 years agodon't try to recycle rtpoll objects
Lennart Poettering [Thu, 12 Feb 2009 21:52:02 +0000 (22:52 +0100)]
don't try to recycle rtpoll objects

15 years agodon't claim that profile changes are always successful
Lennart Poettering [Thu, 12 Feb 2009 21:09:17 +0000 (22:09 +0100)]
don't claim that profile changes are always successful

15 years agouse the same service fd shutdown logic when destructing module and changing profile
Lennart Poettering [Thu, 12 Feb 2009 21:09:00 +0000 (22:09 +0100)]
use the same service fd shutdown logic when destructing module and changing profile

15 years agominor service IO fixes
Lennart Poettering [Thu, 12 Feb 2009 21:06:15 +0000 (22:06 +0100)]
minor service IO fixes

15 years agothe service fd is a stream socket, so handle things accordingly
Lennart Poettering [Thu, 12 Feb 2009 20:45:17 +0000 (21:45 +0100)]
the service fd is a stream socket, so handle things accordingly

15 years agorun make update-po
Lennart Poettering [Thu, 12 Feb 2009 15:57:53 +0000 (16:57 +0100)]
run make update-po

15 years agoprepare test2
Lennart Poettering [Thu, 12 Feb 2009 15:51:52 +0000 (16:51 +0100)]
prepare test2

15 years agohandle errors from BT service properly
Lennart Poettering [Thu, 12 Feb 2009 15:51:02 +0000 (16:51 +0100)]
handle errors from BT service properly

15 years agomake module-hal-detect pick up all cards even when they have no device 0
Lennart Poettering [Thu, 12 Feb 2009 03:15:15 +0000 (04:15 +0100)]
make module-hal-detect pick up all cards even when they have no device 0

15 years agoproperly free modargs object when init fails; don't abbreviate modargs in struct
Lennart Poettering [Thu, 12 Feb 2009 03:00:40 +0000 (04:00 +0100)]
properly free modargs object when init fails; don't abbreviate modargs in struct

15 years agotabs are evil
Lennart Poettering [Thu, 12 Feb 2009 02:57:59 +0000 (03:57 +0100)]
tabs are evil

15 years agosome minor fixups
Lennart Poettering [Thu, 12 Feb 2009 02:56:01 +0000 (03:56 +0100)]
some minor fixups

15 years agoinstead of reparsing the rate module argument when changing profile, simply restore...
Lennart Poettering [Thu, 12 Feb 2009 02:47:27 +0000 (03:47 +0100)]
instead of reparsing the rate module argument when changing profile, simply restore the originally requested sample_spec, this also makes sure the channel count is properly reset

15 years agoaddendum to f56da9893: don't crash when s->sink is NULL
Lennart Poettering [Thu, 12 Feb 2009 02:42:28 +0000 (03:42 +0100)]
addendum to f56da9893: don't crash when s->sink is NULL

15 years agocall _kill functions instead of _unlink since the latter should only be called be...
Lennart Poettering [Thu, 12 Feb 2009 02:39:56 +0000 (03:39 +0100)]
call _kill functions instead of _unlink since the latter should only be called be the stream implementor

15 years agoMerge commit 'elmarco/bt-wip'
Lennart Poettering [Thu, 12 Feb 2009 02:35:57 +0000 (03:35 +0100)]
Merge commit 'elmarco/bt-wip'

15 years agominor reformatting
Lennart Poettering [Thu, 12 Feb 2009 02:20:52 +0000 (03:20 +0100)]
minor reformatting

15 years agodeclare 'animation' stream role for Flash and suchlike
Lennart Poettering [Thu, 12 Feb 2009 02:20:38 +0000 (03:20 +0100)]
declare 'animation' stream role for Flash and suchlike

15 years agomake gcc 4.4 shut up
Lennart Poettering [Thu, 12 Feb 2009 02:19:59 +0000 (03:19 +0100)]
make gcc 4.4 shut up

15 years agoimplement a module that corks music/video streams automatically when a phone call...
Lennart Poettering [Thu, 12 Feb 2009 02:19:40 +0000 (03:19 +0100)]
implement a module that corks music/video streams automatically when a phone call is active

15 years agoallow sending meta/policy events to clients
Lennart Poettering [Thu, 12 Feb 2009 02:18:05 +0000 (03:18 +0100)]
allow sending meta/policy events to clients

15 years agopulsecore: add PA_CORE_HOOK_*_MOVE_FAIL
Marc-André Lureau [Wed, 11 Feb 2009 17:16:42 +0000 (19:16 +0200)]
pulsecore: add PA_CORE_HOOK_*_MOVE_FAIL

In case pa_*_move_all_fail(), it is nicer to let a module override the
default behavior to fallback on a different sink/source. (instead of
unlinking the sink_input/source_output)

15 years agosuspend-on-idle: don't crash when so->source is NULL
Marc-André Lureau [Wed, 11 Feb 2009 14:06:54 +0000 (16:06 +0200)]
suspend-on-idle: don't crash when so->source is NULL

15 years agobluetooth: reinitialize the sample spec when switching profile
Marc-André Lureau [Tue, 10 Feb 2009 21:48:37 +0000 (23:48 +0200)]
bluetooth: reinitialize the sample spec when switching profile

When doing init_profile(), the value u->sample_spec is modified to the
one which has been last configured. In case of HSP, it will be 8kHz.

Later on, when setting the profile to A2DP, it picks up the lower rate
available which match with current u->sample_spec.

In my case, it would be 16kHz. To circunvent the issue, I decided to
reinitialize the u->sample_spec to default value with user module
argument requested rate.

15 years agobluetooth: export nrec
Marc-André Lureau [Tue, 3 Feb 2009 16:43:54 +0000 (18:43 +0200)]
bluetooth: export nrec

15 years agobluetooth: suspend SCO state when over PCM
Marc-André Lureau [Tue, 3 Feb 2009 16:17:20 +0000 (18:17 +0200)]
bluetooth: suspend SCO state when over PCM

15 years agobluetooth: SCO over PCM
Marc-André Lureau [Tue, 3 Feb 2009 15:15:41 +0000 (17:15 +0200)]
bluetooth: SCO over PCM

15 years agobluetooth: reconnect to audio service when switching profile
Marc-André Lureau [Mon, 9 Feb 2009 20:11:46 +0000 (22:11 +0200)]
bluetooth: reconnect to audio service when switching profile

Currently, Bluez audio service crash when reusing the same control
socket to switch to different profiles. This typically happen when
first switching from HSP to A2DP on dual headsets.

15 years agoMerge branch 'master-tx'
Lennart Poettering [Fri, 6 Feb 2009 01:15:13 +0000 (02:15 +0100)]
Merge branch 'master-tx'

Conflicts:
po/pl.po

15 years agoRTP segfault/uninitialized resampler
Erich Boleyn [Fri, 6 Feb 2009 01:11:07 +0000 (02:11 +0100)]
RTP segfault/uninitialized resampler

Erich Boleyn <erich@uruk.org> wrote:

> Using RTP for multi-room music streaming, updated to Pulse 0.9.14 from
> 0.9.9, RTP reception new crashes with a segfault on all machines at
> the first "Updating sample rate" log message.
>
> Source of the segfault appears to be null pointer for
> "impl_update_rates" function in resampler routine, perhaps
> uninitialized resamplers in general?

A fresh look after work made the resampler initialization code pop out.

The problem is in the sink connection being made from
"module-rtp-recv.c", the "PA_SINK_INPUT_VARIABLE_RATE" flag should be
passed into "pa_sink_input_new", but is not there.  Made the change and
tested it, fixes the problem.  Checked and head-of- tree off of the
pulseaudio.org source browsing link does not have this fix either.

One-liner patch attached.

15 years agoadd #defines for all enums that lacked it
Lennart Poettering [Fri, 6 Feb 2009 01:01:17 +0000 (02:01 +0100)]
add #defines for all enums that lacked it

15 years agoA few MacOS X portability fixes
Lennart Poettering [Thu, 5 Feb 2009 23:25:47 +0000 (00:25 +0100)]
A few MacOS X portability fixes

Based on patches contributed by "Tron".

See bug #478.

15 years agoUpdated Polish translation
Piotr Drąg [Thu, 5 Feb 2009 21:14:35 +0000 (21:14 +0000)]
Updated Polish translation

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

15 years agoadd new module-augment-properties module for augmenting properties from .desktop...
Lennart Poettering [Thu, 5 Feb 2009 03:14:30 +0000 (04:14 +0100)]
add new module-augment-properties module for augmenting properties from .desktop files

15 years agoparse ini-style sections properly
Lennart Poettering [Thu, 5 Feb 2009 03:11:26 +0000 (04:11 +0100)]
parse ini-style sections properly

15 years agomake native protocol use pa_{sink_input|source_output|card}_update_proplist()
Lennart Poettering [Thu, 5 Feb 2009 03:10:08 +0000 (04:10 +0100)]
make native protocol use pa_{sink_input|source_output|card}_update_proplist()

15 years agoadd missing hook
Lennart Poettering [Thu, 5 Feb 2009 03:09:27 +0000 (04:09 +0100)]
add missing hook

15 years agoallow overwriting of process properties with environment variables
Lennart Poettering [Thu, 5 Feb 2009 03:09:09 +0000 (04:09 +0100)]
allow overwriting of process properties with environment variables

15 years agomake return value of pa_{sink_input|source_output}_update_proplist() void
Lennart Poettering [Thu, 5 Feb 2009 03:07:27 +0000 (04:07 +0100)]
make return value of pa_{sink_input|source_output}_update_proplist() void

15 years agoadd pa_client_update_proplist() call
Lennart Poettering [Thu, 5 Feb 2009 03:06:50 +0000 (04:06 +0100)]
add pa_client_update_proplist() call

15 years agohandle default volume initialization properly
Lennart Poettering [Thu, 5 Feb 2009 03:05:47 +0000 (04:05 +0100)]
handle default volume initialization properly

15 years agomake module-position-event-sounds use volume factor
Lennart Poettering [Thu, 5 Feb 2009 00:22:57 +0000 (01:22 +0100)]
make module-position-event-sounds use volume factor

15 years agoadd a 'volume factor' that is implicitly multiplied into the volume of a sink input...
Lennart Poettering [Thu, 5 Feb 2009 00:22:05 +0000 (01:22 +0100)]
add a 'volume factor' that is implicitly multiplied into the volume of a sink input without being visible to the outside

15 years agoadd a .mailmap file for git shortlog
Lennart Poettering [Wed, 4 Feb 2009 21:41:45 +0000 (22:41 +0100)]
add a .mailmap file for git shortlog

15 years agostore the identification key in the module-stream-restore.id property
Lennart Poettering [Wed, 4 Feb 2009 21:26:08 +0000 (22:26 +0100)]
store the identification key in the module-stream-restore.id property

15 years agorun make update-po
Lennart Poettering [Wed, 4 Feb 2009 20:49:17 +0000 (21:49 +0100)]
run make update-po

15 years agobump version and soname
Lennart Poettering [Wed, 4 Feb 2009 20:44:25 +0000 (21:44 +0100)]
bump version and soname

15 years agomake pacmd work in a pipe
Lennart Poettering [Wed, 4 Feb 2009 20:22:18 +0000 (21:22 +0100)]
make pacmd work in a pipe

15 years agorate limit underrun messages
Lennart Poettering [Wed, 4 Feb 2009 19:55:30 +0000 (20:55 +0100)]
rate limit underrun messages

15 years agoMerge commit 'flameeyes/flameeyes'
Lennart Poettering [Wed, 4 Feb 2009 17:42:43 +0000 (18:42 +0100)]
Merge commit 'flameeyes/flameeyes'

15 years agoMerge commit 'vudentz/master'
Lennart Poettering [Wed, 4 Feb 2009 17:42:13 +0000 (18:42 +0100)]
Merge commit 'vudentz/master'

15 years agoMerge commit 'coling/master'
Lennart Poettering [Wed, 4 Feb 2009 17:41:44 +0000 (18:41 +0100)]
Merge commit 'coling/master'

15 years agoremove soft volume from pa_sink_input_new_info since it should be handled internally...
Lennart Poettering [Wed, 4 Feb 2009 17:34:08 +0000 (18:34 +0100)]
remove soft volume from pa_sink_input_new_info since it should be handled internally and automatically by the sink input

15 years agoproperly handle failing stream creation
Lennart Poettering [Wed, 4 Feb 2009 17:33:01 +0000 (18:33 +0100)]
properly handle failing stream creation

15 years agofix a validity check
Lennart Poettering [Wed, 4 Feb 2009 17:32:15 +0000 (18:32 +0100)]
fix a validity check

15 years agoversion all entries in the database
Lennart Poettering [Wed, 4 Feb 2009 17:31:24 +0000 (18:31 +0100)]
version all entries in the database

15 years agomerge in properties earlier to make identification of streams from hooks easier
Lennart Poettering [Wed, 4 Feb 2009 17:28:52 +0000 (18:28 +0100)]
merge in properties earlier to make identification of streams from hooks easier

15 years agoclarify things a bit
Lennart Poettering [Wed, 4 Feb 2009 16:20:58 +0000 (17:20 +0100)]
clarify things a bit

15 years agoadd a few additional validity checks
Lennart Poettering [Wed, 4 Feb 2009 16:20:36 +0000 (17:20 +0100)]
add a few additional validity checks

15 years agoadd new calls pa_replace() and pa_unescape()
Lennart Poettering [Wed, 4 Feb 2009 16:19:15 +0000 (17:19 +0100)]
add new calls pa_replace() and pa_unescape()

15 years agomake gcc shut up
Lennart Poettering [Wed, 4 Feb 2009 16:17:48 +0000 (17:17 +0100)]
make gcc shut up

15 years agorearrange a few things
Lennart Poettering [Wed, 4 Feb 2009 16:17:32 +0000 (17:17 +0100)]
rearrange a few things

15 years agosimplify code a bit by using pa_sample_size_of_format()
Lennart Poettering [Wed, 4 Feb 2009 16:16:53 +0000 (17:16 +0100)]
simplify code a bit by using pa_sample_size_of_format()

15 years agobeef up proplist test a bit
Lennart Poettering [Wed, 4 Feb 2009 16:16:32 +0000 (17:16 +0100)]
beef up proplist test a bit

15 years agoin addition to per-property env vars PULSE_PROP_xxx look for for a stringified PULSE_...
Lennart Poettering [Wed, 4 Feb 2009 16:16:13 +0000 (17:16 +0100)]
in addition to per-property env vars PULSE_PROP_xxx look for for a stringified PULSE_PROP env var

15 years agofix up parser in pa_proplist_from_string() to handle escapes correctly; make pa_propl...
Lennart Poettering [Wed, 4 Feb 2009 16:14:59 +0000 (17:14 +0100)]
fix up parser in pa_proplist_from_string() to handle escapes correctly; make pa_proplist_to_string() escape quotes properly

15 years agoadd new API pa_ascii_valid(), pa_ascii_filter()
Lennart Poettering [Wed, 4 Feb 2009 16:11:56 +0000 (17:11 +0100)]
add new API pa_ascii_valid(), pa_ascii_filter()

15 years agoadd pa_sample_size_of_format()
Lennart Poettering [Wed, 4 Feb 2009 16:10:15 +0000 (17:10 +0100)]
add pa_sample_size_of_format()

15 years agoPrevent changing volume on wrong device.
Luiz Augusto von Dentz [Mon, 2 Feb 2009 21:18:34 +0000 (18:18 -0300)]
Prevent changing volume on wrong device.

15 years agoA couple of dependancy ordering fixes.
Colin Guthrie [Tue, 3 Feb 2009 23:49:43 +0000 (23:49 +0000)]
A couple of dependancy ordering fixes.

Make sure libdbus-util.so is installed/relinked prior to libalsa-util.so
Make sure libbluetooth-util.so is installed/relinked prior to module-bluetooth-discover.so

15 years agoTrivial typo in a comment
Colin Guthrie [Tue, 3 Feb 2009 23:46:03 +0000 (23:46 +0000)]
Trivial typo in a comment

15 years agoClean up volume/mute settings a bit.
Colin Guthrie [Wed, 28 Jan 2009 22:39:29 +0000 (22:39 +0000)]
Clean up volume/mute settings a bit.
As the APEX device only has one channel of volume (e.g. it's always matched) we emulate any variation in channel volumes in software.
Remove the unnecessary callback defininitions.

15 years agoadd a lot of validity checking
Lennart Poettering [Tue, 3 Feb 2009 20:57:58 +0000 (21:57 +0100)]
add a lot of validity checking

15 years agoadd a bit of missing i18n
Lennart Poettering [Tue, 3 Feb 2009 20:56:52 +0000 (21:56 +0100)]
add a bit of missing i18n

15 years agoadd new API pa_cvolume_compatible_with_channel_map()
Lennart Poettering [Tue, 3 Feb 2009 20:15:32 +0000 (21:15 +0100)]
add new API pa_cvolume_compatible_with_channel_map()

15 years agobluetooth: typo
Marc-André Lureau [Mon, 2 Feb 2009 09:06:31 +0000 (11:06 +0200)]
bluetooth: typo

15 years agoLoad module gconf earlier
Sjoerd Simons [Sun, 19 Oct 2008 12:39:50 +0000 (13:39 +0100)]
Load module gconf earlier

This makes sure that module-default-device-restore can actually work
when GConf enables additional sinks.

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agowhen moving a sink between sinks make volume relative
Lennart Poettering [Tue, 3 Feb 2009 03:06:52 +0000 (04:06 +0100)]
when moving a sink between sinks make volume relative

15 years agobefore applying balance/fade check it actually makes sense
Lennart Poettering [Tue, 3 Feb 2009 03:05:41 +0000 (04:05 +0100)]
before applying balance/fade check it actually makes sense

15 years agoadd a macro definition for each error code
Lennart Poettering [Tue, 3 Feb 2009 02:38:40 +0000 (03:38 +0100)]
add a macro definition for each error code

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Tue, 3 Feb 2009 02:15:32 +0000 (03:15 +0100)]
Merge commit 'origin/master-tx'

15 years agomake a couple of functions return proper error codes
Lennart Poettering [Tue, 3 Feb 2009 02:14:20 +0000 (03:14 +0100)]
make a couple of functions return proper error codes

15 years agomake a few functions return void where the retval isn't used/never != 0
Lennart Poettering [Tue, 3 Feb 2009 02:11:31 +0000 (03:11 +0100)]
make a few functions return void where the retval isn't used/never != 0