Lennart Poettering
fb837f0cac
rework autospawning to allow to multiple parallel autospawning contexts
2008-09-05 03:22:13 +02:00
Lennart Poettering
994ff984f0
connect to localhost via IP address instead of host name, to avoid needless NSS lookup
2008-09-05 03:20:33 +02:00
Lennart Poettering
89ed50750e
if we are exiting due to cpu overload, say so via syslog, too
2008-09-05 03:18:36 +02:00
Lennart Poettering
f52fb64313
if we are exiting due to idleness, say so
2008-09-05 03:17:48 +02:00
Lennart Poettering
a609e4a700
check for errors returned by pa_context_connect()
2008-09-05 01:31:39 +02:00
Lennart Poettering
3f6f13f902
use pa_channel_map_compatible() where applicable
2008-09-05 01:31:17 +02:00
Lennart Poettering
b56f344b97
a few minor clean-ups
2008-09-05 01:30:48 +02:00
Lennart Poettering
3429072504
introduce upper channel map definition limit PA_CHANNEL_MAP_DEF_MAX
2008-09-05 01:30:25 +02:00
Lennart Poettering
ece297f21b
update map file
2008-09-05 01:29:24 +02:00
Lennart Poettering
cb0c97dae7
add new API function pa_channel_map_compatible()
2008-09-05 01:29:07 +02:00
Lennart Poettering
5a9a6021f1
update map-file script to ignore gcc malloc attributes
2008-09-05 01:28:08 +02:00
Lennart Poettering
456284918a
update documentation and help texts for s32le/s32be sample types
2008-09-05 00:39:36 +02:00
Lennart Poettering
12c5c62dad
Downgrade hrtimer warning to notice level
2008-09-05 00:38:52 +02:00
Lennart Poettering
bf403fe0d8
introduce macros for all flags so that clients can check for them with #ifdef
2008-09-03 19:51:33 +02:00
Lennart Poettering
cbd8e60f6c
use PA_STREAM_EARLY_REQUESTS for OSS streams
2008-09-03 19:51:12 +02:00
Marc-André Lureau
79009d2235
command_get_info() segv in some conditions
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-09-03 19:44:40 +02:00
Lennart Poettering
c402de7545
reindent comments a bit
2008-09-03 18:51:46 +02:00
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
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