Marc-André Lureau [Wed, 18 Feb 2009 19:35:18 +0000 (21:35 +0200)]
alsa-util: check if mixer_poll_descriptors_count() < 0
Marc-André Lureau [Wed, 18 Feb 2009 19:23:41 +0000 (21:23 +0200)]
pulsecore: don't leak p when make_random_dir_and_link()
Marc-André Lureau [Wed, 18 Feb 2009 19:21:25 +0000 (21:21 +0200)]
pulsecore: don't leak d in case of error
Marc-André Lureau [Wed, 18 Feb 2009 18:31:54 +0000 (20:31 +0200)]
rtp: remove unused variable a
Marc-André Lureau [Wed, 18 Feb 2009 18:00:57 +0000 (20:00 +0200)]
protocol-native: don't leak a proplist
Marc-André Lureau [Wed, 18 Feb 2009 17:44:55 +0000 (19:44 +0200)]
stream-resotre: don't leak a name
Marc-André Lureau [Wed, 18 Feb 2009 17:26:21 +0000 (19:26 +0200)]
protocol-esound: don't accept a request of PROTOCOL_MAX
Marc-André Lureau [Wed, 18 Feb 2009 17:15:43 +0000 (19:15 +0200)]
daemon-conf: make sure c->log_level < LEVEL_MAX
Marc-André Lureau [Wed, 18 Feb 2009 16:21:25 +0000 (18:21 +0200)]
pulsecore: use r returned from fgets()
Marc-André Lureau [Wed, 18 Feb 2009 16:16:45 +0000 (18:16 +0200)]
pulsecore: unused variable e in hashmap_put()
Marc-André Lureau [Tue, 17 Feb 2009 20:58:59 +0000 (22:58 +0200)]
tests/ipacl-test: check inet_pton()
Marc-André Lureau [Tue, 17 Feb 2009 20:37:16 +0000 (22:37 +0200)]
padsp: don't use si if it's NULL
Marc-André Lureau [Tue, 17 Feb 2009 20:32:40 +0000 (22:32 +0200)]
pulsecore: fix check for cb (m is already checked before)
Marc-André Lureau [Tue, 17 Feb 2009 20:17:10 +0000 (22:17 +0200)]
pacat: remove unused variable
Marc-André Lureau [Tue, 17 Feb 2009 20:06:25 +0000 (22:06 +0200)]
rtp-recv: remove unused variable assignment
Marc-André Lureau [Tue, 17 Feb 2009 20:07:57 +0000 (22:07 +0200)]
pulsecore: remove unused variable from cli_command_load()
Marc-André Lureau [Tue, 17 Feb 2009 19:59:45 +0000 (21:59 +0200)]
main: remove unused lf variable
Marc-André Lureau [Tue, 17 Feb 2009 18:52:11 +0000 (20:52 +0200)]
pactl: return in case of error reading file (avoid using freed d)
Marc-André Lureau [Tue, 17 Feb 2009 18:38:51 +0000 (20:38 +0200)]
tests/thread-mainloop-test: check if threaded_mainloop_start() succeed
Marc-André Lureau [Tue, 17 Feb 2009 18:36:38 +0000 (20:36 +0200)]
tests/interpol-test: check if mainloop_start() succeed
Marc-André Lureau [Tue, 17 Feb 2009 18:34:05 +0000 (20:34 +0200)]
tests/sync-playback: check if pa_context_connect succeed
Marc-André Lureau [Tue, 17 Feb 2009 18:31:06 +0000 (20:31 +0200)]
pactl: check if pa_context_connect succeed
Marc-André Lureau [Tue, 17 Feb 2009 18:27:45 +0000 (20:27 +0200)]
paplay: check if pa_context_connect() succeed
Marc-André Lureau [Tue, 17 Feb 2009 18:18:56 +0000 (20:18 +0200)]
protocol-native: fix get_info() for cards
Marc-André Lureau [Thu, 19 Feb 2009 03:49:58 +0000 (04:49 +0100)]
card-restore: it's not useful to check an array, let's check the length
Marc-André Lureau [Tue, 17 Feb 2009 18:06:35 +0000 (20:06 +0200)]
log: don't leak bt
Marc-André Lureau [Tue, 17 Feb 2009 17:35:01 +0000 (19:35 +0200)]
alsa-util: make sure we check an initialized cn variable
Marc-André Lureau [Tue, 17 Feb 2009 17:26:21 +0000 (19:26 +0200)]
hal-detect: make sure r is initialized, so we don't take random path
Marc-André Lureau [Tue, 17 Feb 2009 17:19:07 +0000 (19:19 +0200)]
dbus-util: avoid double free
Lennart Poettering [Thu, 19 Feb 2009 03:04:42 +0000 (04:04 +0100)]
split out mixer setup into seperate functions to make things more readable
Lennart Poettering [Thu, 19 Feb 2009 03:01:12 +0000 (04:01 +0100)]
modernize pa_msleep() a bit
Lennart Poettering [Thu, 19 Feb 2009 03:00:29 +0000 (04:00 +0100)]
add pa_timespec_load
Lennart Poettering [Thu, 19 Feb 2009 02:59:56 +0000 (03:59 +0100)]
make interpol-test useful for recording as well
Lennart Poettering [Thu, 19 Feb 2009 02:59:04 +0000 (03:59 +0100)]
additional validity check
Lennart Poettering [Thu, 19 Feb 2009 02:58:52 +0000 (03:58 +0100)]
additional validity check
Lennart Poettering [Thu, 19 Feb 2009 02:56:31 +0000 (03:56 +0100)]
handle both positive and negative errno's
Lennart Poettering [Wed, 18 Feb 2009 21:11:50 +0000 (22:11 +0100)]
export card information for sinks/sources and number of sinks/sources a profile would create to clients
Lennart Poettering [Wed, 18 Feb 2009 20:57:57 +0000 (21:57 +0100)]
introduce pa_realpath()
Lennart Poettering [Wed, 18 Feb 2009 20:57:16 +0000 (21:57 +0100)]
export pa_match()
Lennart Poettering [Wed, 18 Feb 2009 20:55:55 +0000 (21:55 +0100)]
if we fail to import a memblock fill in silence to guarantee stability of timing
Lennart Poettering [Wed, 18 Feb 2009 20:52:21 +0000 (21:52 +0100)]
allow importing of more memory blocks than exporting
Lennart Poettering [Wed, 18 Feb 2009 20:50:27 +0000 (21:50 +0100)]
refer folks to the ALSA devs, not us
Lennart Poettering [Wed, 18 Feb 2009 20:50:09 +0000 (21:50 +0100)]
minor optimizations
Lennart Poettering [Wed, 18 Feb 2009 20:49:31 +0000 (21:49 +0100)]
simplify pa_alsa_init_proplist_pcm() a bit and include resolution bits in alsa device props
Lennart Poettering [Wed, 18 Feb 2009 20:45:06 +0000 (21:45 +0100)]
allow pa to be run in a chroot() environment tht lacks /proc
Lennart Poettering [Wed, 18 Feb 2009 20:44:30 +0000 (21:44 +0100)]
bump required alsa version
Lennart Poettering [Sun, 15 Feb 2009 19:34:38 +0000 (20:34 +0100)]
don't open the alsa devices in hw:xxx mode
Lennart Poettering [Fri, 13 Feb 2009 23:21:36 +0000 (00:21 +0100)]
unify ALSA mixer initialization
Lennart Poettering [Fri, 13 Feb 2009 22:06:41 +0000 (23:06 +0100)]
add doxygen comment for PA_GCC_WEAKREF
Lennart Poettering [Fri, 13 Feb 2009 22:01:24 +0000 (23:01 +0100)]
document all currently known properties
Iain Hibbert [Fri, 13 Feb 2009 20:58:09 +0000 (21:58 +0100)]
Optionally disable IPv6
Closes #79
Lennart Poettering [Fri, 13 Feb 2009 20:57:27 +0000 (21:57 +0100)]
show whether gtk+ support is enabled after configure
Lennart Poettering [Fri, 13 Feb 2009 20:57:00 +0000 (21:57 +0100)]
ignore gtk-test
Lennart Poettering [Fri, 13 Feb 2009 17:19:10 +0000 (18:19 +0100)]
properly read icon/application name/display from gtk/glib/gdk
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
Lennart Poettering [Fri, 13 Feb 2009 17:03:21 +0000 (18:03 +0100)]
add definition for GCC style weak references
Lennart Poettering [Fri, 13 Feb 2009 17:02:47 +0000 (18:02 +0100)]
make PA_GCC_PACKED and PA_GCC_MALLOC actually work
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()
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
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