Lennart Poettering
40b66a0be9
Implement "early requests" mode.
...
PA_STREAM_EARLY_REQUESTS is a new flag that will modify buffering metric
selection behaviour a bit. This code is good for broken ALSA/OSS clients that
ignore 'readability' on the fds in question and schedule audio via usleep()
instead.
2008-09-03 18:31:46 +02:00
Lennart Poettering
99d5ec6c93
Rework pa_machine_id() a bit
...
Guarantee this function never fails, use POSIX gethostid as last resort. Add
comments.
2008-09-03 18:30:27 +02:00
Lennart Poettering
5f931138d2
fix misuse of return value
2008-09-03 18:29:49 +02:00
Lennart Poettering
2c2b2717eb
use gcc malloc attribute macros for internal functions, too
2008-09-01 21:44:00 +02:00
Lennart Poettering
5467cc390d
drop -Winline from build cflags
2008-09-01 21:42:27 +02:00
Lennart Poettering
4348fafcc8
don't include leagacy definition PA_STREAM_NOT_MONOTONOUS in docs
2008-09-01 19:17:14 +02:00
Lennart Poettering
f6e187f0a5
prefix internally used inline function with _
2008-09-01 19:16:12 +02:00
Lennart Poettering
70b820d875
add gcc malloc related function attributes where appropriate
2008-09-01 19:15:07 +02:00
Lennart Poettering
e015879bb8
add malloc related gcc attribute macros
2008-09-01 19:13:37 +02:00
Lennart Poettering
82ea8dde8a
avoid rounding errors on requested buffering metrics
2008-09-01 02:41:03 +02:00
Lennart Poettering
002e7a703a
output relative timestamps in addition to absolute timestamps when logging
2008-09-01 02:39:27 +02:00
Lennart Poettering
a1c857a6a8
include more build info in debug output
2008-09-01 02:38:32 +02:00
Lennart Poettering
1c4ad4b64b
rework device opening code: work around broken SND_PCM_NO_AUTO_xxx support in ALSA <= 1.0.17a
2008-08-31 16:25:37 +02:00
Lennart Poettering
34bcba63a2
remove a few more gcc warnings
2008-08-30 01:22:41 +02:00
Lennart Poettering
13018d62c1
fix a few compiler warnings on older gcc
2008-08-29 23:53:55 +02:00
Lennart Poettering
506eacc922
reword amd64 message
2008-08-29 21:46:12 +02:00
Lennart Poettering
1acf394356
change default log level for the library to PA_LOG_ERROR to avoid spamming to stderr more often
2008-08-29 21:43:50 +02:00
Lennart Poettering
086fa95407
downgrade a few messages
2008-08-29 21:43:10 +02:00
Lennart Poettering
a45440d5c9
the native atomic ops implementation for amd64 seems to work fine
2008-08-29 21:42:09 +02:00
Lennart Poettering
ca38446e6b
Change return value of cmpxchg atomic op to pa_bool_t
2008-08-29 20:24:46 +02:00
Marc-André Lureau
d10e5e56d3
Add CFLAGS information on start-up
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-08-29 20:10:07 +02:00
Lennart Poettering
bdcb3a493c
optionally add timestampts to every line logged
2008-08-29 19:33:06 +02:00
Lennart Poettering
54da71ef5d
reduce needlessly large gdbm cache a bit
2008-08-29 01:48:31 +02:00
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
047eb52b52
run autoupdate
2008-08-19 00:17:49 +02:00
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