platform/upstream/pulseaudio.git
15 years agorestore volume/device for streams only when it wasn't set before
Lennart Poettering [Mon, 18 Aug 2008 15:49:47 +0000 (17:49 +0200)]
restore volume/device for streams only when it wasn't set before

15 years agoallow clients to not specify the volume for their streams
Lennart Poettering [Mon, 18 Aug 2008 15:49:18 +0000 (17:49 +0200)]
allow clients to not specify the volume for their streams

15 years agorework validity checking of sink/source/... names
Lennart Poettering [Mon, 18 Aug 2008 15:48:04 +0000 (17:48 +0200)]
rework validity checking of sink/source/... names

15 years agosave a bit of memory
Lennart Poettering [Mon, 18 Aug 2008 15:46:57 +0000 (17:46 +0200)]
save a bit of memory

15 years agofix type error
Lennart Poettering [Mon, 18 Aug 2008 15:36:59 +0000 (17:36 +0200)]
fix type error

15 years agoFix up overzealous HAVE_LT_DLMUTEX_REGISTER block
Russ Dill [Sun, 17 Aug 2008 19:53:43 +0000 (12:53 -0700)]
Fix up overzealous HAVE_LT_DLMUTEX_REGISTER block

This fixes a built problem on systems without the lt_dlmutex_register
function. The overzealousness causes libtool_set_error and libtool_get_error
to be undefined. This fixes a build problem on Ubuntu Intrepid.

Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoMake Multicast TTL for RTP configurable, patch from 'dfort'
Lennart Poettering [Fri, 15 Aug 2008 12:40:08 +0000 (14:40 +0200)]
Make Multicast TTL for RTP configurable, patch from 'dfort'

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoapply newly configured rules properly
Lennart Poettering [Fri, 15 Aug 2008 12:38:18 +0000 (14:38 +0200)]
apply newly configured rules properly

15 years agoapply volumes properly more than once in a row
Lennart Poettering [Fri, 15 Aug 2008 12:37:54 +0000 (14:37 +0200)]
apply volumes properly more than once in a row

15 years agoapply the correct rules to sink inputs
Lennart Poettering [Fri, 15 Aug 2008 12:37:26 +0000 (14:37 +0200)]
apply the correct rules to sink inputs

15 years agodon't restore devices for direct-on-input streams
Lennart Poettering [Fri, 15 Aug 2008 12:33:18 +0000 (14:33 +0200)]
don't restore devices for direct-on-input streams

15 years agodisable hotplug sounds by default
Lennart Poettering [Fri, 15 Aug 2008 12:32:33 +0000 (14:32 +0200)]
disable hotplug sounds by default

15 years agopass force_refresh=FALSE to all volume/mute read invocations
Lennart Poettering [Wed, 13 Aug 2008 11:59:50 +0000 (13:59 +0200)]
pass force_refresh=FALSE to all volume/mute read invocations

15 years agodrop 0db reset functions since they are not necessary anymore
Lennart Poettering [Wed, 13 Aug 2008 11:59:29 +0000 (13:59 +0200)]
drop 0db reset functions since they are not necessary anymore

15 years agoextend hardware dB scale in software to full range if necessary, instead of reverting...
Lennart Poettering [Wed, 13 Aug 2008 11:59:06 +0000 (13:59 +0200)]
extend hardware dB scale in software to full range if necessary, instead of reverting back to software-only volume control

15 years agorework volume/mute APIs: split out pa_xx_set_soft_volume() and add force_refresh...
Lennart Poettering [Wed, 13 Aug 2008 11:55:58 +0000 (13:55 +0200)]
rework volume/mute APIs: split out pa_xx_set_soft_volume() and add force_refresh argument to read functions

15 years agoadd new function pa_alsa_volume_divide()
Lennart Poettering [Wed, 13 Aug 2008 11:54:17 +0000 (13:54 +0200)]
add new function pa_alsa_volume_divide()

15 years agoreword some log messages
Lennart Poettering [Wed, 13 Aug 2008 11:53:31 +0000 (13:53 +0200)]
reword some log messages

15 years agoadd new API function pa_cvolume_max()
Lennart Poettering [Wed, 13 Aug 2008 11:52:20 +0000 (13:52 +0200)]
add new API function pa_cvolume_max()

15 years agoreset lock_fd_mutex after destruction
Lennart Poettering [Wed, 13 Aug 2008 11:51:43 +0000 (13:51 +0200)]
reset lock_fd_mutex after destruction

15 years agofix protocol destruction
Lennart Poettering [Wed, 13 Aug 2008 11:51:13 +0000 (13:51 +0200)]
fix protocol destruction

15 years agoinitialize IP ACLs properly
Lennart Poettering [Mon, 11 Aug 2008 17:46:28 +0000 (19:46 +0200)]
initialize IP ACLs properly

15 years agofix two uninitialized memory accesses
Lennart Poettering [Mon, 11 Aug 2008 17:46:11 +0000 (19:46 +0200)]
fix two uninitialized memory accesses

15 years agootpimize mixing code a bit by moving a few checks out of the inner loops
Lennart Poettering [Mon, 11 Aug 2008 16:34:38 +0000 (18:34 +0200)]
otpimize mixing code a bit by moving a few checks out of the inner loops

15 years agooptimize volume changing a bit by only using a single counter for the inner loops...
Lennart Poettering [Mon, 11 Aug 2008 13:19:52 +0000 (15:19 +0200)]
optimize volume changing a bit by only using a single counter for the inner loops instead of two

15 years agoadhere to struct gcc aliasing rules
Lennart Poettering [Mon, 11 Aug 2008 13:17:30 +0000 (15:17 +0200)]
adhere to struct gcc aliasing rules

15 years agofix bad memory access
Lennart Poettering [Sat, 9 Aug 2008 15:04:41 +0000 (17:04 +0200)]
fix bad memory access

15 years agomake gcc shut up
Lennart Poettering [Sat, 9 Aug 2008 15:04:27 +0000 (17:04 +0200)]
make gcc shut up

15 years agoadhere to C strict aliasing rules
Lennart Poettering [Sat, 9 Aug 2008 15:03:43 +0000 (17:03 +0200)]
adhere to C strict aliasing rules

15 years agodon't use PA_GCC_UNUSED anymore
Lennart Poettering [Sat, 9 Aug 2008 14:20:29 +0000 (16:20 +0200)]
don't use PA_GCC_UNUSED anymore

15 years agofree regex_t after use
Lennart Poettering [Sat, 9 Aug 2008 14:12:50 +0000 (16:12 +0200)]
free regex_t after use

15 years agorework autospawning code to survive multiple pa_contexts in a single process
Lennart Poettering [Sat, 9 Aug 2008 01:49:42 +0000 (03:49 +0200)]
rework autospawning code to survive multiple pa_contexts in a single process

15 years agoprint reason when we fail to kill a running daemon
Lennart Poettering [Sat, 9 Aug 2008 01:47:59 +0000 (03:47 +0200)]
print reason when we fail to kill a running daemon

15 years agoset errno properly in all functions from pid.c
Lennart Poettering [Sat, 9 Aug 2008 01:47:18 +0000 (03:47 +0200)]
set errno properly in all functions from pid.c

15 years agoset errno properly in all functions from core-util.c
Lennart Poettering [Sat, 9 Aug 2008 01:46:46 +0000 (03:46 +0200)]
set errno properly in all functions from core-util.c

15 years agoadd locale support to pa_parse_boolean()
Lennart Poettering [Sat, 9 Aug 2008 01:46:23 +0000 (03:46 +0200)]
add locale support to pa_parse_boolean()

15 years agoset errno properly in all cases
Lennart Poettering [Sat, 9 Aug 2008 01:44:46 +0000 (03:44 +0200)]
set errno properly in all cases

15 years agomake sure we don't crash if pa_thread_join() is called more than once on the same...
Lennart Poettering [Fri, 8 Aug 2008 20:31:24 +0000 (22:31 +0200)]
make sure we don't crash if pa_thread_join() is called more than once on the same pa_thread object

15 years agoadd compatibility with older PA socket paths
Lennart Poettering [Thu, 7 Aug 2008 00:39:58 +0000 (02:39 +0200)]
add compatibility with older PA socket paths

15 years agoremove some leftover debug string
Lennart Poettering [Thu, 7 Aug 2008 00:29:44 +0000 (02:29 +0200)]
remove some leftover debug string

15 years agoModify pa_state_path() to take an additional argument for prepending the machine...
Lennart Poettering [Thu, 7 Aug 2008 00:28:47 +0000 (02:28 +0200)]
Modify pa_state_path() to take an additional argument for prepending the machine id to the file name.

15 years agoRework state/runtime directory logic
Lennart Poettering [Thu, 7 Aug 2008 00:25:48 +0000 (02:25 +0200)]
Rework state/runtime directory logic

The runtime directory is now guaranteed to be in /tmp which will hopefully
provide support for POSIX file locking and UNIX sockets.

The state directory stays in $HOME.

15 years agodon't spam to stderr in API functions
Lennart Poettering [Thu, 7 Aug 2008 00:24:19 +0000 (02:24 +0200)]
don't spam to stderr in API functions

15 years agoprint machine id during startup
Lennart Poettering [Thu, 7 Aug 2008 00:23:45 +0000 (02:23 +0200)]
print machine id during startup

15 years agoadd new function pa_machine_id()
Lennart Poettering [Thu, 7 Aug 2008 00:22:57 +0000 (02:22 +0200)]
add new function pa_machine_id()

15 years agotranslate error strings
Lennart Poettering [Wed, 6 Aug 2008 23:57:23 +0000 (01:57 +0200)]
translate error strings

15 years agoinclude host name in default sink/default source file
Lennart Poettering [Wed, 6 Aug 2008 19:35:32 +0000 (21:35 +0200)]
include host name in default sink/default source file

15 years agofix a few things in the translations
Lennart Poettering [Wed, 6 Aug 2008 18:27:03 +0000 (20:27 +0200)]
fix a few things in the translations

15 years agoadd basic german translation
Lennart Poettering [Wed, 6 Aug 2008 18:24:03 +0000 (20:24 +0200)]
add basic german translation

15 years agofix channel position string
Lennart Poettering [Wed, 6 Aug 2008 18:16:37 +0000 (20:16 +0200)]
fix channel position string

15 years agoadd a few configuration sanity checks for system mode
Lennart Poettering [Wed, 6 Aug 2008 17:56:15 +0000 (19:56 +0200)]
add a few configuration sanity checks for system mode

15 years agoadd disallow-exit to default configuration file
Lennart Poettering [Wed, 6 Aug 2008 17:55:50 +0000 (19:55 +0200)]
add disallow-exit to default configuration file

15 years agoadd new switch --disallow-exit
Lennart Poettering [Wed, 6 Aug 2008 17:39:12 +0000 (19:39 +0200)]
add new switch --disallow-exit

15 years agoadd i18n support
Lennart Poettering [Wed, 6 Aug 2008 16:54:13 +0000 (18:54 +0200)]
add i18n support

15 years agoremove authkey-prop from tree
Lennart Poettering [Wed, 6 Aug 2008 01:05:20 +0000 (03:05 +0200)]
remove authkey-prop from tree

15 years agodon't include authkey-prop.h anymore
Lennart Poettering [Wed, 6 Aug 2008 01:04:53 +0000 (03:04 +0200)]
don't include authkey-prop.h anymore

15 years agofix a few potential bad memory accesses
Lennart Poettering [Wed, 6 Aug 2008 01:04:22 +0000 (03:04 +0200)]
fix a few potential bad memory accesses

15 years agofix shutdown when --disallow-module-loading=1 is passed
Lennart Poettering [Tue, 5 Aug 2008 21:56:25 +0000 (23:56 +0200)]
fix shutdown when --disallow-module-loading=1 is passed

15 years agoadd a function to dump the stream database for debugging purposes
Lennart Poettering [Tue, 5 Aug 2008 17:03:11 +0000 (19:03 +0200)]
add a function to dump the stream database for debugging purposes

15 years agodon't enforce valid callbacks for extension module APIs
Lennart Poettering [Tue, 5 Aug 2008 17:01:51 +0000 (19:01 +0200)]
don't enforce valid callbacks for extension module APIs

15 years agoallow extension messages to actually carry information
Lennart Poettering [Tue, 5 Aug 2008 17:01:25 +0000 (19:01 +0200)]
allow extension messages to actually carry information

15 years agofix error path (spotted by Coling Guthrie)
Lennart Poettering [Tue, 5 Aug 2008 14:31:17 +0000 (16:31 +0200)]
fix error path (spotted by Coling Guthrie)

15 years agofix a few more copy/paste errors
Lennart Poettering [Tue, 5 Aug 2008 12:26:43 +0000 (14:26 +0200)]
fix a few more copy/paste errors

15 years agofix copy/paste error
Lennart Poettering [Mon, 4 Aug 2008 21:33:29 +0000 (23:33 +0200)]
fix copy/paste error

15 years agofix documentation to follow what actually happens
Lennart Poettering [Mon, 4 Aug 2008 21:33:10 +0000 (23:33 +0200)]
fix documentation to follow what actually happens

15 years agoinherit proplist on sample playback from client
Lennart Poettering [Mon, 4 Aug 2008 21:32:52 +0000 (23:32 +0200)]
inherit proplist on sample playback from client

15 years agoremove port definitions from header file since they are not actually used yet
Lennart Poettering [Mon, 4 Aug 2008 17:49:33 +0000 (19:49 +0200)]
remove port definitions from header file since they are not actually used yet

15 years agoadd missing C++ checks in header
Lennart Poettering [Mon, 4 Aug 2008 17:49:13 +0000 (19:49 +0200)]
add missing C++ checks in header

15 years agopa_bool_t is not exported
Lennart Poettering [Mon, 4 Aug 2008 17:45:47 +0000 (19:45 +0200)]
pa_bool_t is not exported

15 years agoignore PA_GCC_DEPRECATED and PA_GCC_PRINTF_ATTR when generating map file
Lennart Poettering [Mon, 4 Aug 2008 17:45:30 +0000 (19:45 +0200)]
ignore PA_GCC_DEPRECATED and PA_GCC_PRINTF_ATTR when generating map file

15 years agoupdate list of exported symbols
Lennart Poettering [Mon, 4 Aug 2008 17:44:55 +0000 (19:44 +0200)]
update list of exported symbols

15 years agoFix linking
Colin Guthrie [Sun, 3 Aug 2008 22:38:13 +0000 (22:38 +0000)]
Fix linking

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agowrap protocol extension of module-stream-restore
Lennart Poettering [Mon, 4 Aug 2008 17:02:20 +0000 (19:02 +0200)]
wrap protocol extension of module-stream-restore

15 years agoadd protocol extension to module-stream-restore
Lennart Poettering [Mon, 4 Aug 2008 17:01:13 +0000 (19:01 +0200)]
add protocol extension to module-stream-restore

15 years agostore channel map in database and remap volumes if necessary
Lennart Poettering [Mon, 4 Aug 2008 17:00:43 +0000 (19:00 +0200)]
store channel map in database and remap volumes if necessary

15 years agoadd hooks for connection creation/deletion, for that export pa_native_connection
Lennart Poettering [Mon, 4 Aug 2008 16:58:29 +0000 (18:58 +0200)]
add hooks for connection creation/deletion, for that export pa_native_connection

15 years agosplit out save trigger function
Lennart Poettering [Mon, 4 Aug 2008 16:56:12 +0000 (18:56 +0200)]
split out save trigger function

15 years agostore channel map in database and remap volumes if ncessary
Lennart Poettering [Mon, 4 Aug 2008 16:55:50 +0000 (18:55 +0200)]
store channel map in database and remap volumes if ncessary

15 years agoadd new API function pa_cvolume_remap()
Lennart Poettering [Mon, 4 Aug 2008 16:40:53 +0000 (18:40 +0200)]
add new API function pa_cvolume_remap()

15 years agodon't hit an assert if when process_rewind() is called with nbytes=0
Lennart Poettering [Mon, 4 Aug 2008 13:33:41 +0000 (15:33 +0200)]
don't hit an assert if  when process_rewind() is called with nbytes=0

15 years agoload module-device-restore and module-stream-restore by default, don't load module...
Lennart Poettering [Sun, 3 Aug 2008 21:23:46 +0000 (23:23 +0200)]
load module-device-restore and module-stream-restore by default, don't load module-volume-restore anymore

15 years agoadd new module module-stream-restore
Lennart Poettering [Sun, 3 Aug 2008 21:23:13 +0000 (23:23 +0200)]
add new module module-stream-restore

15 years agoa bit of refactoring
Lennart Poettering [Sun, 3 Aug 2008 21:22:38 +0000 (23:22 +0200)]
a bit of refactoring

15 years agofix uninitialized memory access
Lennart Poettering [Sun, 3 Aug 2008 21:21:51 +0000 (23:21 +0200)]
fix uninitialized memory access

15 years agodefine CANONICAL_HOST as macro for the GNU canonical host
Lennart Poettering [Sun, 3 Aug 2008 21:21:06 +0000 (23:21 +0200)]
define CANONICAL_HOST as macro for the GNU canonical host

15 years agoadd extension system for native protocol
Lennart Poettering [Sun, 3 Aug 2008 16:56:10 +0000 (18:56 +0200)]
add extension system for native protocol

15 years agostore load_once flag for module
Lennart Poettering [Sun, 3 Aug 2008 16:55:42 +0000 (18:55 +0200)]
store load_once flag for module

15 years agoadd a new error code PA_ERR_NOEXTENSION
Lennart Poettering [Sun, 3 Aug 2008 16:54:55 +0000 (18:54 +0200)]
add a new error code PA_ERR_NOEXTENSION

15 years agostart idle timer even when no module is ever loaded
Lennart Poettering [Sun, 3 Aug 2008 16:53:43 +0000 (18:53 +0200)]
start idle timer even when no module is ever loaded

15 years agosome pa_bool_t'ization
Lennart Poettering [Sun, 3 Aug 2008 15:00:52 +0000 (17:00 +0200)]
some pa_bool_t'ization

15 years agofix iteration over random devices
Sjoerd Simons [Sun, 3 Aug 2008 11:45:35 +0000 (12:45 +0100)]
fix iteration over random devices

Actually iterate over the various random devices. Fixes a infinite loop on
startup when /dev/urandom isn't readable. Patch by Matt Kraai on Debian bug
491270, closes #333

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agomake all protocol objects global singletons
Lennart Poettering [Sun, 3 Aug 2008 14:44:38 +0000 (16:44 +0200)]
make all protocol objects global singletons

15 years agouse pa_channel_map_init_extend() instead of pa_channel_map_init_auto() to make things...
Lennart Poettering [Sun, 3 Aug 2008 14:43:51 +0000 (16:43 +0200)]
use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() to make things more robust

15 years agosimplify a bit
Lennart Poettering [Sun, 3 Aug 2008 14:42:41 +0000 (16:42 +0200)]
simplify a bit

15 years agoadd new api function pa_cli_get_module()
Lennart Poettering [Sun, 3 Aug 2008 14:42:16 +0000 (16:42 +0200)]
add new api function pa_cli_get_module()

15 years agointroduce pa_cli_eof_cb_t
Lennart Poettering [Sun, 3 Aug 2008 14:41:52 +0000 (16:41 +0200)]
introduce pa_cli_eof_cb_t

15 years agorename pa_hook_free() to pa_hook_done() since the hook struct is allocated on the...
Lennart Poettering [Sun, 3 Aug 2008 14:21:08 +0000 (16:21 +0200)]
rename pa_hook_free() to pa_hook_done() since the hook struct is allocated on the stack not via malloc

15 years agouse @ as seperator between shared name variable and instance
Lennart Poettering [Sun, 3 Aug 2008 14:17:50 +0000 (16:17 +0200)]
use @ as seperator between shared name variable and instance

15 years agomake sure we don't leak userdata struct
Lennart Poettering [Sun, 3 Aug 2008 14:17:17 +0000 (16:17 +0200)]
make sure we don't leak userdata struct

15 years agoallow running of PA with a valgring that doesn't know cap_set_caps
Lennart Poettering [Sun, 3 Aug 2008 14:16:22 +0000 (16:16 +0200)]
allow running of PA with a valgring that doesn't know cap_set_caps