Commit graph

2681 commits

Author SHA1 Message Date
Lennart Poettering
d315dcf5d9 save a bit of memory 2008-08-18 17:46:57 +02:00
Lennart Poettering
67858c6e46 fix type error 2008-08-18 17:36:59 +02:00
Russ Dill
74719c24f5 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>
2008-08-17 22:54:58 +02:00
Lennart Poettering
8d596a9bc5 Make Multicast TTL for RTP configurable, patch from 'dfort'
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-08-15 14:40:08 +02:00
Lennart Poettering
f84536bc0a apply newly configured rules properly 2008-08-15 14:38:18 +02:00
Lennart Poettering
63402b392b apply volumes properly more than once in a row 2008-08-15 14:37:54 +02:00
Lennart Poettering
512c24c65a apply the correct rules to sink inputs 2008-08-15 14:37:26 +02:00
Lennart Poettering
f68a6e5cab don't restore devices for direct-on-input streams 2008-08-15 14:36:24 +02:00
Lennart Poettering
5a0e01404a disable hotplug sounds by default 2008-08-15 14:32:33 +02:00
Lennart Poettering
916899a973 pass force_refresh=FALSE to all volume/mute read invocations 2008-08-13 13:59:50 +02:00
Lennart Poettering
abd85af939 drop 0db reset functions since they are not necessary anymore 2008-08-13 13:59:29 +02:00
Lennart Poettering
8a10eba744 extend hardware dB scale in software to full range if necessary, instead of reverting back to software-only volume control 2008-08-13 13:59:06 +02:00
Lennart Poettering
3ec4a5db99 rework volume/mute APIs: split out pa_xx_set_soft_volume() and add force_refresh argument to read functions 2008-08-13 13:55:58 +02:00
Lennart Poettering
29daef7a26 add new function pa_alsa_volume_divide() 2008-08-13 13:54:17 +02:00
Lennart Poettering
8ab85fdf9e reword some log messages 2008-08-13 13:53:31 +02:00
Lennart Poettering
e4adcf7071 add new API function pa_cvolume_max() 2008-08-13 13:52:20 +02:00
Lennart Poettering
a176f68e0a reset lock_fd_mutex after destruction 2008-08-13 13:51:43 +02:00
Lennart Poettering
3c88af711e fix protocol destruction 2008-08-13 13:51:13 +02:00
Lennart Poettering
7c5a95950e initialize IP ACLs properly 2008-08-11 19:46:28 +02:00
Lennart Poettering
8ca254c490 fix two uninitialized memory accesses 2008-08-11 19:46:11 +02:00
Lennart Poettering
c4dff4d416 otpimize mixing code a bit by moving a few checks out of the inner loops 2008-08-11 18:34:38 +02:00
Lennart Poettering
5b2a83733d optimize volume changing a bit by only using a single counter for the inner loops instead of two 2008-08-11 15:19:52 +02:00
Lennart Poettering
b604290803 adhere to struct gcc aliasing rules 2008-08-11 15:17:30 +02:00
Lennart Poettering
b21840407a fix bad memory access 2008-08-09 17:04:41 +02:00
Lennart Poettering
72f520f93c make gcc shut up 2008-08-09 17:04:27 +02:00
Lennart Poettering
afbfd5d937 adhere to C strict aliasing rules 2008-08-09 17:03:43 +02:00
Lennart Poettering
432b4e5f7d don't use PA_GCC_UNUSED anymore 2008-08-09 16:20:29 +02:00
Lennart Poettering
9996213c41 free regex_t after use 2008-08-09 16:12:50 +02:00
Lennart Poettering
15cebbaceb rework autospawning code to survive multiple pa_contexts in a single process 2008-08-09 03:49:42 +02:00
Lennart Poettering
b4a566918c print reason when we fail to kill a running daemon 2008-08-09 03:47:59 +02:00
Lennart Poettering
ee4c350de7 set errno properly in all functions from pid.c 2008-08-09 03:47:18 +02:00
Lennart Poettering
d8119afeef set errno properly in all functions from core-util.c 2008-08-09 03:46:46 +02:00
Lennart Poettering
9cf1a4e5c4 add locale support to pa_parse_boolean() 2008-08-09 03:46:23 +02:00
Lennart Poettering
c4d32ec804 set errno properly in all cases 2008-08-09 03:44:46 +02:00
Lennart Poettering
6df029a1b1 make sure we don't crash if pa_thread_join() is called more than once on the same pa_thread object 2008-08-08 22:31:24 +02:00
Lennart Poettering
40ff5fa06f add compatibility with older PA socket paths 2008-08-07 02:39:58 +02:00
Lennart Poettering
75b28e97fa remove some leftover debug string 2008-08-07 02:29:44 +02:00
Lennart Poettering
ecb2bc4f04 Modify pa_state_path() to take an additional argument for prepending the machine id to the file name. 2008-08-07 02:28:47 +02:00
Lennart Poettering
bd05b36a1e 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.
2008-08-07 02:25:48 +02:00
Lennart Poettering
4e6fb67e9f don't spam to stderr in API functions 2008-08-07 02:24:19 +02:00
Lennart Poettering
0075649f13 print machine id during startup 2008-08-07 02:23:45 +02:00
Lennart Poettering
73e2577ca6 add new function pa_machine_id() 2008-08-07 02:22:57 +02:00
Lennart Poettering
b84f738e50 translate error strings 2008-08-07 01:57:23 +02:00
Lennart Poettering
b983c0bd14 include host name in default sink/default source file 2008-08-06 21:35:32 +02:00
Lennart Poettering
bb7f80d4d8 fix a few things in the translations 2008-08-06 20:27:03 +02:00
Lennart Poettering
4a440848b2 add basic german translation 2008-08-06 20:24:03 +02:00
Lennart Poettering
31bfd6a44d fix channel position string 2008-08-06 20:16:37 +02:00
Lennart Poettering
ff6bb7acda add a few configuration sanity checks for system mode 2008-08-06 19:56:15 +02:00
Lennart Poettering
a4762ab4b1 add disallow-exit to default configuration file 2008-08-06 19:55:50 +02:00
Lennart Poettering
756fac8d04 add new switch --disallow-exit 2008-08-06 19:39:12 +02:00