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
Diego 'Flameeyes' Pettenò
daf3e8b97d
Create a new macro for checking compiler support for TLS.
...
Create a new macro that can be shared between projects to check for
__thread support by the compiler. This macro might come useful for
xine-lib too so I want to keep it separate for easier importing it
over.
Name the defined macro SUPPORT_TLS___THREAD to follow the same style
as the checks from attributes.m4.
2008-08-08 15:09:38 +02:00
Diego 'Flameeyes' Pettenò
8a3d666da3
Fix building again libtool/ltdl 2.2.4.
...
On changeset f1d2bf8408 support for
libtool 2.2 was broken as libtool_set_error was not defined anymore on
that version. Fix this by also putting under #ifdef the calls to that
function.
2008-08-08 12:39:04 +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
b983c0bd14
include host name in default sink/default source file
2008-08-06 21:35:32 +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
Lennart Poettering
f1d2bf8408
add i18n support
2008-08-06 18:54:13 +02:00
Lennart Poettering
c4a953dc96
remove authkey-prop from tree
2008-08-06 03:05:20 +02:00
Lennart Poettering
b4e8cac066
don't include authkey-prop.h anymore
2008-08-06 03:04:53 +02:00
Lennart Poettering
9fde00e449
fix a few potential bad memory accesses
2008-08-06 03:04:22 +02:00
Lennart Poettering
34dd4a20f2
fix shutdown when --disallow-module-loading=1 is passed
2008-08-05 23:56:25 +02:00
Lennart Poettering
ca127532fc
add a function to dump the stream database for debugging purposes
2008-08-05 19:03:11 +02:00
Lennart Poettering
8a156d1a23
don't enforce valid callbacks for extension module APIs
2008-08-05 19:01:51 +02:00
Lennart Poettering
98b81636b7
allow extension messages to actually carry information
2008-08-05 19:01:25 +02:00
Lennart Poettering
e0dd72afcb
fix error path (spotted by Coling Guthrie)
2008-08-05 16:31:17 +02:00
Lennart Poettering
f57b9153a8
fix a few more copy/paste errors
2008-08-05 14:26:43 +02:00
Lennart Poettering
78236af734
fix copy/paste error
2008-08-04 23:33:29 +02:00
Lennart Poettering
163f10712e
fix documentation to follow what actually happens
2008-08-04 23:33:10 +02:00
Lennart Poettering
64a23677d3
inherit proplist on sample playback from client
2008-08-04 23:32:52 +02:00