Lennart Poettering [Fri, 13 Feb 2009 14:48:34 +0000 (15:48 +0100)]
fix aiff channel mapping for 6 channels
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
Lennart Poettering [Thu, 12 Feb 2009 22:14:24 +0000 (23:14 +0100)]
add full set of argument description
Lennart Poettering [Thu, 12 Feb 2009 21:52:02 +0000 (22:52 +0100)]
don't try to recycle rtpoll objects
Lennart Poettering [Thu, 12 Feb 2009 21:09:17 +0000 (22:09 +0100)]
don't claim that profile changes are always successful
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
Lennart Poettering [Thu, 12 Feb 2009 21:06:15 +0000 (22:06 +0100)]
minor service IO fixes
Lennart Poettering [Thu, 12 Feb 2009 20:45:17 +0000 (21:45 +0100)]
the service fd is a stream socket, so handle things accordingly
Lennart Poettering [Thu, 12 Feb 2009 15:57:53 +0000 (16:57 +0100)]
run make update-po
Lennart Poettering [Thu, 12 Feb 2009 15:51:52 +0000 (16:51 +0100)]
prepare test2
Lennart Poettering [Thu, 12 Feb 2009 15:51:02 +0000 (16:51 +0100)]
handle errors from BT service properly
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
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
Lennart Poettering [Thu, 12 Feb 2009 02:57:59 +0000 (03:57 +0100)]
tabs are evil
Lennart Poettering [Thu, 12 Feb 2009 02:56:01 +0000 (03:56 +0100)]
some minor fixups
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
Lennart Poettering [Thu, 12 Feb 2009 02:42:28 +0000 (03:42 +0100)]
addendum to
f56da9893: don't crash when s->sink is NULL
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
Lennart Poettering [Thu, 12 Feb 2009 02:35:57 +0000 (03:35 +0100)]
Merge commit 'elmarco/bt-wip'
Lennart Poettering [Thu, 12 Feb 2009 02:20:52 +0000 (03:20 +0100)]
minor reformatting
Lennart Poettering [Thu, 12 Feb 2009 02:20:38 +0000 (03:20 +0100)]
declare 'animation' stream role for Flash and suchlike
Lennart Poettering [Thu, 12 Feb 2009 02:19:59 +0000 (03:19 +0100)]
make gcc 4.4 shut up
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
Lennart Poettering [Thu, 12 Feb 2009 02:18:05 +0000 (03:18 +0100)]
allow sending meta/policy events to clients
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)
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
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.
Marc-André Lureau [Tue, 3 Feb 2009 16:43:54 +0000 (18:43 +0200)]
bluetooth: export nrec
Marc-André Lureau [Tue, 3 Feb 2009 16:17:20 +0000 (18:17 +0200)]
bluetooth: suspend SCO state when over PCM
Marc-André Lureau [Tue, 3 Feb 2009 15:15:41 +0000 (17:15 +0200)]
bluetooth: SCO over PCM
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.
Lennart Poettering [Fri, 6 Feb 2009 01:15:13 +0000 (02:15 +0100)]
Merge branch 'master-tx'
Conflicts:
po/pl.po
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.
Lennart Poettering [Fri, 6 Feb 2009 01:01:17 +0000 (02:01 +0100)]
add #defines for all enums that lacked it
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.
Piotr Drąg [Thu, 5 Feb 2009 21:14:35 +0000 (21:14 +0000)]
Updated Polish translation
Transmitted-via: Transifex (translate.fedoraproject.org)
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
Lennart Poettering [Thu, 5 Feb 2009 03:11:26 +0000 (04:11 +0100)]
parse ini-style sections properly
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()
Lennart Poettering [Thu, 5 Feb 2009 03:09:27 +0000 (04:09 +0100)]
add missing hook
Lennart Poettering [Thu, 5 Feb 2009 03:09:09 +0000 (04:09 +0100)]
allow overwriting of process properties with environment variables
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
Lennart Poettering [Thu, 5 Feb 2009 03:06:50 +0000 (04:06 +0100)]
add pa_client_update_proplist() call
Lennart Poettering [Thu, 5 Feb 2009 03:05:47 +0000 (04:05 +0100)]
handle default volume initialization properly
Lennart Poettering [Thu, 5 Feb 2009 00:22:57 +0000 (01:22 +0100)]
make module-position-event-sounds use volume factor
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
Lennart Poettering [Wed, 4 Feb 2009 21:41:45 +0000 (22:41 +0100)]
add a .mailmap file for git shortlog
Lennart Poettering [Wed, 4 Feb 2009 21:26:08 +0000 (22:26 +0100)]
store the identification key in the module-stream-restore.id property
Lennart Poettering [Wed, 4 Feb 2009 20:49:17 +0000 (21:49 +0100)]
run make update-po
Lennart Poettering [Wed, 4 Feb 2009 20:44:25 +0000 (21:44 +0100)]
bump version and soname
Lennart Poettering [Wed, 4 Feb 2009 20:22:18 +0000 (21:22 +0100)]
make pacmd work in a pipe
Lennart Poettering [Wed, 4 Feb 2009 19:55:30 +0000 (20:55 +0100)]
rate limit underrun messages
Lennart Poettering [Wed, 4 Feb 2009 17:42:43 +0000 (18:42 +0100)]
Merge commit 'flameeyes/flameeyes'
Lennart Poettering [Wed, 4 Feb 2009 17:42:13 +0000 (18:42 +0100)]
Merge commit 'vudentz/master'
Lennart Poettering [Wed, 4 Feb 2009 17:41:44 +0000 (18:41 +0100)]
Merge commit 'coling/master'
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
Lennart Poettering [Wed, 4 Feb 2009 17:33:01 +0000 (18:33 +0100)]
properly handle failing stream creation
Lennart Poettering [Wed, 4 Feb 2009 17:32:15 +0000 (18:32 +0100)]
fix a validity check
Lennart Poettering [Wed, 4 Feb 2009 17:31:24 +0000 (18:31 +0100)]
version all entries in the database
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
Lennart Poettering [Wed, 4 Feb 2009 16:20:58 +0000 (17:20 +0100)]
clarify things a bit
Lennart Poettering [Wed, 4 Feb 2009 16:20:36 +0000 (17:20 +0100)]
add a few additional validity checks
Lennart Poettering [Wed, 4 Feb 2009 16:19:15 +0000 (17:19 +0100)]
add new calls pa_replace() and pa_unescape()
Lennart Poettering [Wed, 4 Feb 2009 16:17:48 +0000 (17:17 +0100)]
make gcc shut up
Lennart Poettering [Wed, 4 Feb 2009 16:17:32 +0000 (17:17 +0100)]
rearrange a few things
Lennart Poettering [Wed, 4 Feb 2009 16:16:53 +0000 (17:16 +0100)]
simplify code a bit by using pa_sample_size_of_format()
Lennart Poettering [Wed, 4 Feb 2009 16:16:32 +0000 (17:16 +0100)]
beef up proplist test a bit
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
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
Lennart Poettering [Wed, 4 Feb 2009 16:11:56 +0000 (17:11 +0100)]
add new API pa_ascii_valid(), pa_ascii_filter()
Lennart Poettering [Wed, 4 Feb 2009 16:10:15 +0000 (17:10 +0100)]
add pa_sample_size_of_format()
Luiz Augusto von Dentz [Mon, 2 Feb 2009 21:18:34 +0000 (18:18 -0300)]
Prevent changing volume on wrong device.
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
Colin Guthrie [Tue, 3 Feb 2009 23:46:03 +0000 (23:46 +0000)]
Trivial typo in a comment
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.
Lennart Poettering [Tue, 3 Feb 2009 20:57:58 +0000 (21:57 +0100)]
add a lot of validity checking
Lennart Poettering [Tue, 3 Feb 2009 20:56:52 +0000 (21:56 +0100)]
add a bit of missing i18n
Lennart Poettering [Tue, 3 Feb 2009 20:15:32 +0000 (21:15 +0100)]
add new API pa_cvolume_compatible_with_channel_map()
Marc-André Lureau [Mon, 2 Feb 2009 09:06:31 +0000 (11:06 +0200)]
bluetooth: typo
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>
Lennart Poettering [Tue, 3 Feb 2009 03:06:52 +0000 (04:06 +0100)]
when moving a sink between sinks make volume relative
Lennart Poettering [Tue, 3 Feb 2009 03:05:41 +0000 (04:05 +0100)]
before applying balance/fade check it actually makes sense
Lennart Poettering [Tue, 3 Feb 2009 02:38:40 +0000 (03:38 +0100)]
add a macro definition for each error code
Lennart Poettering [Tue, 3 Feb 2009 02:15:32 +0000 (03:15 +0100)]
Merge commit 'origin/master-tx'
Lennart Poettering [Tue, 3 Feb 2009 02:14:20 +0000 (03:14 +0100)]
make a couple of functions return proper error codes
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
Lennart Poettering [Tue, 3 Feb 2009 02:08:14 +0000 (03:08 +0100)]
add new error code PA_ERR_NOTIMPLEMENTED
Lennart Poettering [Tue, 3 Feb 2009 01:23:46 +0000 (02:23 +0100)]
implement PA_STREAM_FAIL_ON_SUSPEND logic
Lennart Poettering [Tue, 3 Feb 2009 01:15:36 +0000 (02:15 +0100)]
make iterating with pa_idxset_next() robust in regards to idxset modifications
Lennart Poettering [Tue, 3 Feb 2009 00:34:38 +0000 (01:34 +0100)]
make update-sbc should also update other BT related sources
Lennart Poettering [Tue, 3 Feb 2009 00:33:48 +0000 (01:33 +0100)]
pull in new SBC/BT files
Lennart Poettering [Mon, 2 Feb 2009 01:02:31 +0000 (02:02 +0100)]
don't use PA_STREAM_NOT_MONOTONOUS anymore
Lennart Poettering [Mon, 2 Feb 2009 00:58:48 +0000 (01:58 +0100)]
big module-bluetooth-device.c rework
Lennart Poettering [Mon, 2 Feb 2009 00:54:40 +0000 (01:54 +0100)]
make rtp.h ANSI C compliant
Lennart Poettering [Mon, 2 Feb 2009 00:54:09 +0000 (01:54 +0100)]
whitespace cleanup
Lennart Poettering [Mon, 2 Feb 2009 00:53:11 +0000 (01:53 +0100)]
handle EAGAIN properly
Lennart Poettering [Mon, 2 Feb 2009 00:51:27 +0000 (01:51 +0100)]
fix soft_mute handling
Lennart Poettering [Mon, 2 Feb 2009 00:44:37 +0000 (01:44 +0100)]
update sbc stuff
Lennart Poettering [Sun, 1 Feb 2009 23:46:11 +0000 (00:46 +0100)]
reset rewind_requested when we enter suspend mode
Lennart Poettering [Sun, 1 Feb 2009 23:45:54 +0000 (00:45 +0100)]
shortcut pa_sink_process_rewind() when no rewind is happenning and none was requested