Commit graph

4558 commits

Author SHA1 Message Date
Lennart Poettering
450fe170a5 fix up latency before calling into stream code, to make sure we don't ask for too much data to early 2008-08-29 01:20:25 +02:00
Lennart Poettering
63505bee07 add missing config.h inclusion 2008-08-29 01:15:58 +02:00
Lennart Poettering
6723699ef8 rework pa_ulog2 and base it on __builtin_clz if available, make pa_make_power_of_two based on it 2008-08-29 01:13:50 +02:00
Lennart Poettering
bb8263be6f add byte-to-usec and usec-to-byte converters that round up, not down 2008-08-28 17:53:01 +02:00
Lennart Poettering
f79c665812 document in which direction we round 2008-08-28 17:52:08 +02:00
Ed Catmur
3d07cc8112 alsa_error_handler should note source of errors
When an error gets passed up from alsa-lib via alsa_error_handler, it's unclear
the source of the error. alsa_error_handler should note that the error came
from alsa-lib. (Closes #341)
2008-08-26 23:19:43 +02:00
Lennart Poettering
8df5b2de92 increase pa_xmalloc() limit to 96 MB, closes #344 2008-08-26 15:46:26 +02:00
Lennart Poettering
fd3c6b0f60 fix typo 2008-08-26 15:45:37 +02:00
Lennart Poettering
f9713d1ccf Fix error code in pa_stream_get_timing_info() 2008-08-26 15:45:18 +02:00
Lennart Poettering
0a1f654c20 call close() in a loop to catch EINTR 2008-08-26 15:44:55 +02:00
Colin Guthrie
2a78f865c1 Fix more linking issues in x11-publish and stream-restore 2008-08-22 10:58:21 +01:00
Colin Guthrie
4282b726ee Merge branch 'master' of git://git.0pointer.de/pulseaudio 2008-08-22 10:56:45 +01:00
Lennart Poettering
dc9b8dce30 add a few missing casts 2008-08-20 03:33:06 +03:00
Lennart Poettering
a3e57da0f0 add doxygen documentation for ext-stream-restore.h 2008-08-20 00:17:33 +02:00
Lennart Poettering
6baec251d2 use final glibc eventfd() instead of our homegrown syscall invocations 2008-08-19 23:18:20 +02:00
Lennart Poettering
8e71787551 rework cpu limit logic to use monotonic instead of wall clock time 2008-08-19 23:03:37 +02:00
Lennart Poettering
961aa185e3 simplify pa_start_child_for_read by using pa_close_all()/pa_reset_sigs()/pa_unblock_sigs() 2008-08-19 22:49:14 +02:00
Lennart Poettering
b7026bf248 add a few more gcc warning flags and fix quite a few problems found by doing so 2008-08-19 22:39:54 +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
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