Commit graph

2701 commits

Author SHA1 Message Date
Lennart Poettering
2ca0533404 update gitignore 2008-08-19 00:09:26 +02:00
Lennart Poettering
70f4a8516a require ac 2.62 in bootstrap.sh 2008-08-19 00:02:01 +02:00
Lennart Poettering
3d2d6ca958 Merge commit 'flameeyes/autoconf-2.62' 2008-08-18 23:52:44 +02:00
Lennart Poettering
46f0f9ed8b a few modernizations 2008-08-18 20:07:57 +02:00
Lennart Poettering
e65c514542 don't unref pa_native_options object twice 2008-08-18 20:07:32 +02:00
Lennart Poettering
5cc2187bec add some code to make invalid valgrind warnings go away 2008-08-18 19:55:55 +02:00
Lennart Poettering
c6b18880be bump release 2008-08-18 17:57:44 +02:00
Lennart Poettering
b8ba2de7dd restore volume/device for streams only when it wasn't set before 2008-08-18 17:49:47 +02:00
Lennart Poettering
ec62596f49 allow clients to not specify the volume for their streams 2008-08-18 17:49:18 +02:00
Lennart Poettering
c35d1bbec3 rework validity checking of sink/source/... names 2008-08-18 17:48:04 +02:00
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
Diego 'Flameeyes' Pettenò
016fcd92d4 Reduce rules for man pages generation to pattern rules.
Instead of having to duplicat ethe same code all over for all the man
pages, simplify it and reduce it to generic pattern rules.x
2008-08-08 15:12:54 +02:00
Diego 'Flameeyes' Pettenò
89f492a7df Replace some manual build tests with AC_CACHE_CHECK and AC_COMPILE_IFELSE.
Instead of compiling the build tests manually, use autoconf
facilities, so that the results are cached between runs. Also avoid
linking when a simple compile test is enough.
2008-08-08 15:09:38 +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ò
81969a73a4 Replace the CFLAGS-checking code with a common macro from xine-lib.
Instead of writing custom code to check for cflags checking, import a
copy of attributes.m4 from xine-lib's repository and use the
CC_CHECK_CFLAGS macro.

The advantage lies not only in being able to reduce the custom code in
configure.ac, but also in the fact that the CC_CHECK_CFLAGS macro
caches the results, making ./configure -C quite faster on second run.

Check for the CFLAGS for any compiler and not just GCC, if the
compiler does support the flag it is better to u se it anyway,
otherwise it will be skipped.
2008-08-08 15:09:37 +02:00
Diego 'Flameeyes' Pettenò
a6e4507a4b Use AC_PROG_CC_C99 to discover C99-compliant compiler.
Instead of just checking if the compiler supports -std=c99 option,
make use of the autoconf macro for discovering C99. This way other
non-GCC compiler could be used in C99 mode too.
2008-08-08 15:09:32 +02:00