profile/ivi/pulseaudio.git
15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Fri, 20 Feb 2009 02:21:46 +0000 (03:21 +0100)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

15 years agobig alsa module rework to make things more robust to broken sound drivers and make...
Lennart Poettering [Fri, 20 Feb 2009 02:21:17 +0000 (03:21 +0100)]
big alsa module rework to make things more robust to broken sound drivers and make it easier to debug them

15 years agofix comment
Lennart Poettering [Fri, 20 Feb 2009 02:20:36 +0000 (03:20 +0100)]
fix comment

15 years agoadd test tool for debugging broken timing in sound drivers
Lennart Poettering [Fri, 20 Feb 2009 02:19:33 +0000 (03:19 +0100)]
add test tool for debugging broken timing in sound drivers

15 years agoMake sure we actually call _() for translating profile names
Lennart Poettering [Fri, 20 Feb 2009 02:17:53 +0000 (03:17 +0100)]
Make sure we actually call _() for translating profile names

15 years agomake it easier to debug timing related problems
Lennart Poettering [Fri, 20 Feb 2009 02:16:54 +0000 (03:16 +0100)]
make it easier to debug timing related problems

15 years agomake profile names translatable
Lennart Poettering [Fri, 20 Feb 2009 00:18:37 +0000 (01:18 +0100)]
make profile names translatable

15 years agodon't try to use weakref stuff on older compilers that don't really support it
Lennart Poettering [Thu, 19 Feb 2009 23:32:15 +0000 (00:32 +0100)]
don't try to use weakref stuff on older compilers that don't really support it

15 years agoMerge commit '38ded3bb31bc49664641965f856a35f432a8a956'
Lennart Poettering [Thu, 19 Feb 2009 04:17:08 +0000 (05:17 +0100)]
Merge commit '38ded3bb31bc49664641965f856a35f432a8a956'

15 years agoMerge commit 'elmarco/legacy-dir'
Lennart Poettering [Thu, 19 Feb 2009 04:02:52 +0000 (05:02 +0100)]
Merge commit 'elmarco/legacy-dir'

15 years agoalsa-util: check if mixer_poll_descriptors_count() < 0
Marc-André Lureau [Wed, 18 Feb 2009 19:35:18 +0000 (21:35 +0200)]
alsa-util: check if mixer_poll_descriptors_count() < 0

15 years agopulsecore: don't leak p when make_random_dir_and_link()
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()

15 years agopulsecore: don't leak d in case of error
Marc-André Lureau [Wed, 18 Feb 2009 19:21:25 +0000 (21:21 +0200)]
pulsecore: don't leak d in case of error

15 years agortp: remove unused variable a
Marc-André Lureau [Wed, 18 Feb 2009 18:31:54 +0000 (20:31 +0200)]
rtp: remove unused variable a

15 years agoprotocol-native: don't leak a proplist
Marc-André Lureau [Wed, 18 Feb 2009 18:00:57 +0000 (20:00 +0200)]
protocol-native: don't leak a proplist

15 years agostream-resotre: don't leak a name
Marc-André Lureau [Wed, 18 Feb 2009 17:44:55 +0000 (19:44 +0200)]
stream-resotre: don't leak a name

15 years agoprotocol-esound: don't accept a request of PROTOCOL_MAX
Marc-André Lureau [Wed, 18 Feb 2009 17:26:21 +0000 (19:26 +0200)]
protocol-esound: don't accept a request of PROTOCOL_MAX

15 years agodaemon-conf: make sure c->log_level < LEVEL_MAX
Marc-André Lureau [Wed, 18 Feb 2009 17:15:43 +0000 (19:15 +0200)]
daemon-conf: make sure c->log_level < LEVEL_MAX

15 years agopulsecore: use r returned from fgets()
Marc-André Lureau [Wed, 18 Feb 2009 16:21:25 +0000 (18:21 +0200)]
pulsecore: use r returned from fgets()

15 years agopulsecore: unused variable e in hashmap_put()
Marc-André Lureau [Wed, 18 Feb 2009 16:16:45 +0000 (18:16 +0200)]
pulsecore: unused variable e in hashmap_put()

15 years agotests/ipacl-test: check inet_pton()
Marc-André Lureau [Tue, 17 Feb 2009 20:58:59 +0000 (22:58 +0200)]
tests/ipacl-test: check inet_pton()

15 years agopadsp: don't use si if it's NULL
Marc-André Lureau [Tue, 17 Feb 2009 20:37:16 +0000 (22:37 +0200)]
padsp: don't use si if it's NULL

15 years agopulsecore: fix check for cb (m is already checked before)
Marc-André Lureau [Tue, 17 Feb 2009 20:32:40 +0000 (22:32 +0200)]
pulsecore: fix check for cb (m is already checked before)

15 years agopacat: remove unused variable
Marc-André Lureau [Tue, 17 Feb 2009 20:17:10 +0000 (22:17 +0200)]
pacat: remove unused variable

15 years agortp-recv: remove unused variable assignment
Marc-André Lureau [Tue, 17 Feb 2009 20:06:25 +0000 (22:06 +0200)]
rtp-recv: remove unused variable assignment

15 years agopulsecore: remove unused variable from cli_command_load()
Marc-André Lureau [Tue, 17 Feb 2009 20:07:57 +0000 (22:07 +0200)]
pulsecore: remove unused variable from cli_command_load()

15 years agomain: remove unused lf variable
Marc-André Lureau [Tue, 17 Feb 2009 19:59:45 +0000 (21:59 +0200)]
main: remove unused lf variable

15 years agopactl: return in case of error reading file (avoid using freed d)
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)

15 years agotests/thread-mainloop-test: check if threaded_mainloop_start() succeed
Marc-André Lureau [Tue, 17 Feb 2009 18:38:51 +0000 (20:38 +0200)]
tests/thread-mainloop-test: check if threaded_mainloop_start() succeed

15 years agotests/interpol-test: check if 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

15 years agotests/sync-playback: check if pa_context_connect succeed
Marc-André Lureau [Tue, 17 Feb 2009 18:34:05 +0000 (20:34 +0200)]
tests/sync-playback: check if pa_context_connect succeed

15 years agopactl: 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

15 years agopaplay: 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

15 years agoprotocol-native: fix get_info() for cards
Marc-André Lureau [Tue, 17 Feb 2009 18:18:56 +0000 (20:18 +0200)]
protocol-native: fix get_info() for cards

15 years agocard-restore: it's not useful to check an array, let's check the length
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

15 years agolog: don't leak bt
Marc-André Lureau [Tue, 17 Feb 2009 18:06:35 +0000 (20:06 +0200)]
log: don't leak bt

15 years agoalsa-util: make sure we check an initialized cn variable
Marc-André Lureau [Tue, 17 Feb 2009 17:35:01 +0000 (19:35 +0200)]
alsa-util: make sure we check an initialized cn variable

15 years agohal-detect: make sure r is initialized, so we don't take random path
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

15 years agodbus-util: avoid double free
Marc-André Lureau [Tue, 17 Feb 2009 17:19:07 +0000 (19:19 +0200)]
dbus-util: avoid double free

15 years agosplit out mixer setup into seperate functions to make things more readable
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

15 years agomodernize pa_msleep() a bit
Lennart Poettering [Thu, 19 Feb 2009 03:01:12 +0000 (04:01 +0100)]
modernize pa_msleep() a bit

15 years agoadd pa_timespec_load
Lennart Poettering [Thu, 19 Feb 2009 03:00:29 +0000 (04:00 +0100)]
add pa_timespec_load

15 years agomake interpol-test useful for recording as well
Lennart Poettering [Thu, 19 Feb 2009 02:59:56 +0000 (03:59 +0100)]
make interpol-test useful for recording as well

15 years agoadditional validity check
Lennart Poettering [Thu, 19 Feb 2009 02:59:04 +0000 (03:59 +0100)]
additional validity check

15 years agoadditional validity check
Lennart Poettering [Thu, 19 Feb 2009 02:58:52 +0000 (03:58 +0100)]
additional validity check

15 years agohandle both positive and negative errno's
Lennart Poettering [Thu, 19 Feb 2009 02:56:31 +0000 (03:56 +0100)]
handle both positive and negative errno's

15 years agoexport card information for sinks/sources and number of sinks/sources a profile would...
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

15 years agointroduce pa_realpath()
Lennart Poettering [Wed, 18 Feb 2009 20:57:57 +0000 (21:57 +0100)]
introduce pa_realpath()

15 years agoexport pa_match()
Lennart Poettering [Wed, 18 Feb 2009 20:57:16 +0000 (21:57 +0100)]
export pa_match()

15 years agoif we fail to import a memblock fill in silence to guarantee stability of timing
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

15 years agoallow importing of more memory blocks than exporting
Lennart Poettering [Wed, 18 Feb 2009 20:52:21 +0000 (21:52 +0100)]
allow importing of more memory blocks than exporting

15 years agorefer folks to the ALSA devs, not us
Lennart Poettering [Wed, 18 Feb 2009 20:50:27 +0000 (21:50 +0100)]
refer folks to the ALSA devs, not us

15 years agominor optimizations
Lennart Poettering [Wed, 18 Feb 2009 20:50:09 +0000 (21:50 +0100)]
minor optimizations

15 years agosimplify pa_alsa_init_proplist_pcm() a bit and include resolution bits in alsa device...
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

15 years agoallow pa to be run in a chroot() environment tht lacks /proc
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

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 agopulse/context: add --enable-legacy-runtime-dir
Marc-André Lureau [Wed, 18 Feb 2009 14:51:37 +0000 (16:51 +0200)]
pulse/context: add --enable-legacy-runtime-dir

15 years agobluetooth: print SBC encoder implementation info
Marc-André Lureau [Fri, 13 Feb 2009 13:09:16 +0000 (15:09 +0200)]
bluetooth: print SBC encoder implementation info

The encoder initialization is done lazily, so we can only get the
information once encoding start. This is abit annoying..

15 years agobluetooth: don't crash on pa_thread_mq_done() if pa_init() fail
Marc-André Lureau [Fri, 13 Feb 2009 10:18:14 +0000 (12:18 +0200)]
bluetooth: don't crash on pa_thread_mq_done() if pa_init() fail

15 years agobluetooth: update SBC from upstream
Marc-André Lureau [Wed, 18 Feb 2009 13:20:08 +0000 (15:20 +0200)]
bluetooth: update SBC from upstream

15 years agobluetooth: fix message queue/rtpoll
Lennart Poettering [Thu, 12 Feb 2009 22:14:48 +0000 (00:14 +0200)]
bluetooth: fix message queue/rtpoll

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