profile/ivi/pulseaudio-panda.git
16 years agoignore sinks that do not carry decibel information
Lennart Poettering [Tue, 7 Oct 2008 22:12:15 +0000 (00:12 +0200)]
ignore sinks that do not carry decibel information

16 years agoremove $Id$
Lennart Poettering [Tue, 7 Oct 2008 22:10:56 +0000 (00:10 +0200)]
remove $Id$

16 years agoadd a comment that pa_sink_input_set_volume and module-flat-volume.c are related
Lennart Poettering [Tue, 7 Oct 2008 22:10:01 +0000 (00:10 +0200)]
add a comment that pa_sink_input_set_volume and module-flat-volume.c are related

16 years agoif a stream comes with now sensible properties attached, use common
Lennart Poettering [Tue, 7 Oct 2008 22:08:51 +0000 (00:08 +0200)]
if a stream comes with now sensible properties attached, use common
fallback db entry.

16 years agoafter calling PA_CORE_HOOK_SINK_SET_VOLUME hook, check again whether the volume changed
Lennart Poettering [Tue, 7 Oct 2008 20:47:32 +0000 (22:47 +0200)]
after calling PA_CORE_HOOK_SINK_SET_VOLUME hook, check again whether the volume changed

16 years agoadditional validity checks
Lennart Poettering [Tue, 7 Oct 2008 20:47:01 +0000 (22:47 +0200)]
additional validity checks

16 years agoif the channel map was modified due to PA_SINK_INPUT_FIX_CHANNELS, remap the specifie...
Lennart Poettering [Tue, 7 Oct 2008 20:46:18 +0000 (22:46 +0200)]
if the channel map was modified due to PA_SINK_INPUT_FIX_CHANNELS, remap the specified volume properly

16 years agouse pa_channel_map_init_extend() instead of pa_channel_map_init_auto() as channel...
Lennart Poettering [Tue, 7 Oct 2008 20:45:37 +0000 (22:45 +0200)]
use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() as channel map for sink inputs/source outputs in case no map is specified

16 years agomodernize a few checks
Lennart Poettering [Tue, 7 Oct 2008 20:44:43 +0000 (22:44 +0200)]
modernize a few checks

16 years agowhen the volume is changed make sure we send out a subscription event
Lennart Poettering [Tue, 7 Oct 2008 20:43:00 +0000 (22:43 +0200)]
when the volume is changed make sure we send out a subscription event

16 years agoinstead of resetting virtual_volume unconditionally on initialization, do so only...
Lennart Poettering [Tue, 7 Oct 2008 20:42:13 +0000 (22:42 +0200)]
instead of resetting virtual_volume unconditionally on initialization, do so only when no volume was set before

16 years agoInitialize exit_idle_time to -1 instead of 0 when in system mode.
Lennart Poettering [Tue, 7 Oct 2008 00:00:07 +0000 (02:00 +0200)]
Initialize exit_idle_time to -1 instead of 0  when in system mode.

Spotted by Rafał Mużyło.

16 years agoflat-volume thingy
Marc-Andre Lureau [Mon, 6 Oct 2008 22:37:39 +0000 (01:37 +0300)]
flat-volume thingy

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agovolume hooks
Marc-Andre Lureau [Mon, 6 Oct 2008 22:37:38 +0000 (01:37 +0300)]
volume hooks

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agomake distcheck pass
Lennart Poettering [Mon, 6 Oct 2008 01:35:46 +0000 (03:35 +0200)]
make distcheck pass

16 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Mon, 6 Oct 2008 00:39:36 +0000 (02:39 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

16 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Mon, 6 Oct 2008 00:39:24 +0000 (02:39 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

16 years agobump version and sonames
Lennart Poettering [Mon, 6 Oct 2008 00:37:59 +0000 (02:37 +0200)]
bump version and sonames

16 years agoMerge commit 'vudentz/master'
Lennart Poettering [Mon, 6 Oct 2008 00:28:17 +0000 (02:28 +0200)]
Merge commit 'vudentz/master'

16 years agomake sure we send a started messages when we are uncorking
Lennart Poettering [Mon, 6 Oct 2008 00:26:08 +0000 (02:26 +0200)]
make sure we send a started messages when we are uncorking

16 years agoupdate module-tunnel for recent protocol changes
Lennart Poettering [Sun, 5 Oct 2008 21:02:25 +0000 (23:02 +0200)]
update module-tunnel for recent protocol changes

16 years agodisable valgrind macro usage for now since valgrind generates a lot of spurious warni...
Lennart Poettering [Sun, 5 Oct 2008 20:51:25 +0000 (22:51 +0200)]
disable valgrind macro usage for now since valgrind generates a lot of spurious warnings as it seems

16 years agoadd missing include
Lennart Poettering [Sun, 5 Oct 2008 13:38:56 +0000 (15:38 +0200)]
add missing include

16 years agosubstract the unused record buffer size from the overall size before calculating...
Lennart Poettering [Sat, 4 Oct 2008 00:13:39 +0000 (02:13 +0200)]
substract the unused record buffer size from the overall size before calculating the space still left for recording

16 years agoget rid of pa_alsa_volume_divide() since we have pa_sw_volume_divide() now
Lennart Poettering [Fri, 3 Oct 2008 23:48:13 +0000 (01:48 +0200)]
get rid of pa_alsa_volume_divide() since we have pa_sw_volume_divide() now

16 years agoimplement pa_sw_volume_divide() and pa_sw_cvolume_divide()
Lennart Poettering [Fri, 3 Oct 2008 23:40:41 +0000 (01:40 +0200)]
implement pa_sw_volume_divide() and pa_sw_cvolume_divide()

16 years agoincrease suspend timeout to 5s so that it is always longer then the default tsched...
Lennart Poettering [Fri, 3 Oct 2008 23:07:38 +0000 (01:07 +0200)]
increase suspend timeout to 5s so that it is always longer then the default tsched buffer size of 2s

16 years agodon't call snd_pcm_drain() when we suspend because that might take awfully long with...
Lennart Poettering [Fri, 3 Oct 2008 23:07:08 +0000 (01:07 +0200)]
don't call snd_pcm_drain() when we suspend because that might take awfully long with our long buffer sizes these days

16 years agoadd missing inclusion
Lennart Poettering [Fri, 3 Oct 2008 23:06:35 +0000 (01:06 +0200)]
add missing inclusion

16 years agodo not cleanup staticly allocated memory unless we are in valgrind mode
Lennart Poettering [Fri, 3 Oct 2008 22:14:02 +0000 (00:14 +0200)]
do not cleanup staticly allocated memory unless we are in valgrind mode

16 years agoshow valgrind status on startup
Lennart Poettering [Fri, 3 Oct 2008 22:13:29 +0000 (00:13 +0200)]
show valgrind status on startup

16 years agoinstead of checking for directly use new function pa_in_valgrind()
Lennart Poettering [Fri, 3 Oct 2008 22:13:05 +0000 (00:13 +0200)]
instead of checking for  directly use new function pa_in_valgrind()

16 years agoadd new API function pa_in_valgrind() to check for
Lennart Poettering [Fri, 3 Oct 2008 22:10:43 +0000 (00:10 +0200)]
add new API function pa_in_valgrind() to check for

16 years agoFix loading module-bluetooth-device with an invalid parameter.
Luiz Augusto von Dentz [Fri, 3 Oct 2008 21:04:53 +0000 (18:04 -0300)]
Fix loading module-bluetooth-device with an invalid parameter.

16 years agoReplace handlers of deprecated Connected signals with new PropertyChanged.
Luiz Augusto von Dentz [Fri, 3 Oct 2008 15:15:26 +0000 (12:15 -0300)]
Replace handlers of deprecated Connected signals with new PropertyChanged.

16 years agoCleanup module-bluetooth-discover.
Luiz Augusto von Dentz [Wed, 1 Oct 2008 23:15:09 +0000 (20:15 -0300)]
Cleanup module-bluetooth-discover.

16 years agoFix Connected signal handler.
Luiz Augusto von Dentz [Wed, 1 Oct 2008 15:16:16 +0000 (12:16 -0300)]
Fix Connected signal handler.

16 years agoFix match rule problems.
Luiz Augusto von Dentz [Wed, 1 Oct 2008 15:04:55 +0000 (12:04 -0300)]
Fix match rule problems.

16 years agoRemove PropertyChanged signal handler.
Luiz Augusto von Dentz [Wed, 1 Oct 2008 14:37:00 +0000 (11:37 -0300)]
Remove PropertyChanged signal handler.

16 years agoAdd signal handlers for Connected signals.
Luiz Augusto von Dentz [Wed, 1 Oct 2008 14:35:51 +0000 (11:35 -0300)]
Add signal handlers for Connected signals.

16 years agoAdd match rules for org.bluez.Headset and org.bluez.AudioSink.
Luiz Augusto von Dentz [Wed, 1 Oct 2008 14:29:50 +0000 (11:29 -0300)]
Add match rules for org.bluez.Headset and org.bluez.AudioSink.

16 years agorename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is
Lennart Poettering [Fri, 3 Oct 2008 20:21:27 +0000 (22:21 +0200)]
rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is
useful only for software volumes

16 years agoallow - in sample names
Lennart Poettering [Fri, 3 Oct 2008 17:49:15 +0000 (19:49 +0200)]
allow - in sample names

16 years agoincrease PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not conside...
Lennart Poettering [Fri, 3 Oct 2008 15:45:55 +0000 (17:45 +0200)]
increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI

16 years agowhen checking the validity of a cvolume check whether all values are not -1
Lennart Poettering [Fri, 3 Oct 2008 15:45:04 +0000 (17:45 +0200)]
when checking the validity of a cvolume check whether all values are not -1

16 years agoadd missing calls to map file
Lennart Poettering [Fri, 3 Oct 2008 15:44:17 +0000 (17:44 +0200)]
add missing calls to map file

16 years agoadd new API call pa_cvolume_compatible()
Lennart Poettering [Fri, 3 Oct 2008 15:43:40 +0000 (17:43 +0200)]
add new API call pa_cvolume_compatible()

16 years agoadd new API call pa_cvolume_snprint_dB()
Lennart Poettering [Fri, 3 Oct 2008 15:42:38 +0000 (17:42 +0200)]
add new API call pa_cvolume_snprint_dB()

16 years agoadd new API call pa_cvolume_init()
Lennart Poettering [Fri, 3 Oct 2008 15:16:55 +0000 (17:16 +0200)]
add new API call pa_cvolume_init()

16 years agoextend documentation for pa_channel_map_init()
Lennart Poettering [Fri, 3 Oct 2008 15:15:43 +0000 (17:15 +0200)]
extend documentation for pa_channel_map_init()

16 years agomake a few casts explicit to remove compiler warnings
Lennart Poettering [Fri, 3 Oct 2008 15:14:58 +0000 (17:14 +0200)]
make a few casts explicit to remove compiler warnings

16 years agoa bit of late pa_bool_t'ization
Lennart Poettering [Fri, 3 Oct 2008 15:14:35 +0000 (17:14 +0200)]
a bit of late pa_bool_t'ization

16 years agotreat a channel map only then as compatible with a sample spec if it is valid
Lennart Poettering [Fri, 3 Oct 2008 15:14:02 +0000 (17:14 +0200)]
treat a channel map only then as compatible with a sample spec if it is valid

16 years agoadd new API function pa_sample_spec_init()
Lennart Poettering [Fri, 3 Oct 2008 15:13:17 +0000 (17:13 +0200)]
add new API function pa_sample_spec_init()

16 years agoif a volume or channel map is invalid show so when printing it
Lennart Poettering [Fri, 3 Oct 2008 13:16:26 +0000 (15:16 +0200)]
if a volume or channel map is invalid show so when printing it

16 years agouser lrint() and friends in inner loops instead of normal C casts to speed up a few...
Lennart Poettering [Fri, 3 Oct 2008 00:34:59 +0000 (02:34 +0200)]
user lrint() and friends in inner loops instead of normal C casts to speed up a few things

16 years agouse PA_FLOAT32_SWAP where useful
Lennart Poettering [Fri, 3 Oct 2008 00:33:44 +0000 (02:33 +0200)]
use PA_FLOAT32_SWAP where useful

16 years agooptimize mixing routines a bit by pulling the multiplication with the global volume...
Lennart Poettering [Thu, 2 Oct 2008 23:53:34 +0000 (01:53 +0200)]
optimize mixing routines a bit by pulling the multiplication with the global volume out of the inner loop by applying it first to the per-stream volumes

16 years agomake sure we call pa_sink_process_rewind() if a rewind was requested under all circum...
Lennart Poettering [Thu, 2 Oct 2008 01:07:54 +0000 (03:07 +0200)]
make sure we call pa_sink_process_rewind() if a rewind was requested under all circumstances

16 years agowhen we mix into a 16bit accumulator make sure we clamp before we scale with a volume...
Lennart Poettering [Thu, 2 Oct 2008 00:29:56 +0000 (02:29 +0200)]
when we mix into a 16bit accumulator make sure we clamp before we scale with a volume to avoid range faults when multiplying

16 years agoproperly parse response to pa_stream_set_buffer_attr() calls. closes #370
Lennart Poettering [Wed, 1 Oct 2008 23:15:58 +0000 (01:15 +0200)]
properly parse response to pa_stream_set_buffer_attr() calls. closes #370

16 years agoinform dsp_empty_socket() *after* we emptied the dsp socket, that it is now empty
Lennart Poettering [Wed, 1 Oct 2008 23:02:31 +0000 (01:02 +0200)]
inform dsp_empty_socket() *after* we emptied the dsp socket, that it is now empty

16 years agomake simple protocol not crash when allocating a memory block
Lennart Poettering [Wed, 1 Oct 2008 22:04:02 +0000 (00:04 +0200)]
make simple protocol not crash when allocating a memory block

16 years agowhen killing gconf helper, loop over EINTR
Lennart Poettering [Wed, 1 Oct 2008 21:42:32 +0000 (23:42 +0200)]
when killing gconf helper, loop over EINTR

16 years agoPA_WARN_REFERENCE works only for ELF targets
Lennart Poettering [Wed, 1 Oct 2008 12:49:00 +0000 (14:49 +0200)]
PA_WARN_REFERENCE works only for ELF targets

16 years agodon't hit an assert if a kernel driver reports invalid dB information, instead just...
Lennart Poettering [Wed, 1 Oct 2008 02:15:05 +0000 (04:15 +0200)]
don't hit an assert if a kernel driver reports invalid dB information, instead just warn the user

16 years agoremove useless log message
Lennart Poettering [Wed, 1 Oct 2008 01:54:01 +0000 (03:54 +0200)]
remove useless log message

16 years agoremove useless log message, re #367
Lennart Poettering [Wed, 1 Oct 2008 01:44:03 +0000 (03:44 +0200)]
remove useless log message, re #367

16 years agofix support for ALSA devices which lack dB information
Lennart Poettering [Wed, 1 Oct 2008 01:26:45 +0000 (03:26 +0200)]
fix support for ALSA devices which lack dB information

16 years agoit's --daemonize, not --daemon
Lennart Poettering [Tue, 30 Sep 2008 23:59:50 +0000 (01:59 +0200)]
it's --daemonize, not --daemon

16 years agoMerge commit 'coling/master'
Lennart Poettering [Tue, 30 Sep 2008 23:52:14 +0000 (01:52 +0200)]
Merge commit 'coling/master'

16 years agoa few FreeBSD fixes, from alexis
Lennart Poettering [Tue, 30 Sep 2008 23:31:56 +0000 (01:31 +0200)]
a few FreeBSD fixes, from alexis

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agoreplace module-volume-restore by module-stream-restore in system mode, too
Lennart Poettering [Tue, 30 Sep 2008 23:24:47 +0000 (01:24 +0200)]
replace module-volume-restore by module-stream-restore in system mode, too

16 years agoit might be a bit too early to initialize bluetooth by default for now, since it...
Lennart Poettering [Tue, 30 Sep 2008 23:23:35 +0000 (01:23 +0200)]
it might be a bit too early to initialize bluetooth by default for now, since it's still very rough around the edges

16 years agofix typo in default.conf, closes bug #354
Lennart Poettering [Tue, 30 Sep 2008 23:19:01 +0000 (01:19 +0200)]
fix typo in default.conf, closes bug #354

16 years agofollow PropertyChanged signals from BlueZ
Lennart Poettering [Tue, 30 Sep 2008 23:16:43 +0000 (01:16 +0200)]
follow PropertyChanged signals from BlueZ

16 years agoSome man page updates, add missing documentation, other fixes.
Lennart Poettering [Tue, 30 Sep 2008 23:15:44 +0000 (01:15 +0200)]
Some man page updates, add missing documentation, other fixes.

16 years agoMake the shared memory segment size configurable
Lennart Poettering [Tue, 30 Sep 2008 23:14:36 +0000 (01:14 +0200)]
Make the shared memory segment size configurable

This is useful only on systems where memory overcommit is not available
or disabled.

16 years agoesound auth-ip-acl fix
Nix [Fri, 26 Sep 2008 18:29:17 +0000 (19:29 +0100)]
esound auth-ip-acl fix

[...]

iv) module-protocol-stub has a one-character typo that breaks
auth-ip-acl for the esound TCP module, patch:

Unbreak esound auth-ip-acl.

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agohave make_random_dir respect $TMPDIR
Stelian Ionescu [Mon, 22 Sep 2008 22:26:31 +0000 (00:26 +0200)]
have make_random_dir respect $TMPDIR

with the attached patch, make_random_dir first tries to use $TMPDIR,
then $TMP finally defaulting to "/tmp"

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agomake module-bluetooth-discover actually load modules and smaller other fixes
Lennart Poettering [Mon, 29 Sep 2008 19:45:00 +0000 (21:45 +0200)]
make module-bluetooth-discover actually load modules and smaller other fixes

16 years agoall kinds of minor type, memory leak, initializatio fixes
Lennart Poettering [Mon, 29 Sep 2008 19:43:28 +0000 (21:43 +0200)]
all kinds of minor type, memory leak, initializatio fixes

16 years agoinstead of failing when the requested sampling rate is not available find the next...
Lennart Poettering [Mon, 29 Sep 2008 19:42:29 +0000 (21:42 +0200)]
instead of failing when the requested sampling rate is not available find the next one that is higher

16 years agoUse the same module parameter names for module-bluetooth-device as for most other...
Lennart Poettering [Mon, 29 Sep 2008 19:40:52 +0000 (21:40 +0200)]
Use the same module parameter names for module-bluetooth-device as for most other modules

16 years agouse TRUE for pa_bool_t arguments
Lennart Poettering [Mon, 29 Sep 2008 19:36:42 +0000 (21:36 +0200)]
use TRUE for pa_bool_t arguments

16 years agoremove a few compiler warnings in BlueZ code
Lennart Poettering [Mon, 29 Sep 2008 19:34:18 +0000 (21:34 +0200)]
remove a few compiler warnings in BlueZ code

16 years agofix compilation errors in priority queue code
Lennart Poettering [Sat, 27 Sep 2008 14:31:56 +0000 (16:31 +0200)]
fix compilation errors in priority queue code

16 years agoignore bt proximity helper
Lennart Poettering [Fri, 26 Sep 2008 16:51:25 +0000 (09:51 -0700)]
ignore bt proximity helper

16 years agoadd a generic priority queue implementation
Lennart Poettering [Fri, 26 Sep 2008 16:49:52 +0000 (09:49 -0700)]
add a generic priority queue implementation

16 years agomake pa_idxset_trivial_compare_func() do a full compare instea of just equakity check
Lennart Poettering [Fri, 26 Sep 2008 16:35:49 +0000 (09:35 -0700)]
make pa_idxset_trivial_compare_func() do a full compare instea of just equakity check

16 years agosome minor fixes and cleanups in the bt code
Lennart Poettering [Fri, 26 Sep 2008 16:35:00 +0000 (09:35 -0700)]
some minor fixes and cleanups in the bt code

16 years agomake sure ~/.pulse exists before we create the runtime dir link beneath it
Lennart Poettering [Fri, 12 Sep 2008 14:39:08 +0000 (17:39 +0300)]
make sure ~/.pulse exists before we create the runtime dir link beneath it

16 years agoreplace Makefile stub copies by symlinks
Lennart Poettering [Wed, 10 Sep 2008 22:41:08 +0000 (01:41 +0300)]
replace Makefile stub copies by symlinks

16 years agoenable bluetooth by default
Lennart Poettering [Wed, 10 Sep 2008 22:40:40 +0000 (01:40 +0300)]
enable bluetooth by default

16 years agodowngrade a D-Bus log message to debug
Lennart Poettering [Wed, 10 Sep 2008 22:40:18 +0000 (01:40 +0300)]
downgrade a D-Bus log message to debug

16 years agoadd trivial redirecting makefile to bt dir
Lennart Poettering [Wed, 10 Sep 2008 22:39:20 +0000 (01:39 +0300)]
add trivial redirecting makefile to bt dir

16 years agoMove bluetooth proximity module to src/modules/bluetooth/
João Paulo Rechi Vita [Sun, 31 Aug 2008 12:22:36 +0000 (09:22 -0300)]
Move bluetooth proximity module to src/modules/bluetooth/

16 years agoChange all int vars that doesn't allow negative values to uint
João Paulo Rechi Vita [Sat, 30 Aug 2008 20:41:00 +0000 (17:41 -0300)]
Change all int vars that doesn't allow negative values to uint

16 years agoMove bluetooth discover and device modules to src/modules/bluetooth
João Paulo Rechi Vita [Fri, 29 Aug 2008 23:22:14 +0000 (20:22 -0300)]
Move bluetooth discover and device modules to src/modules/bluetooth

16 years agoCleanup some code
João Paulo Rechi Vita [Fri, 29 Aug 2008 14:56:12 +0000 (11:56 -0300)]
Cleanup some code