From fea675724d209d3ff8a808a111fe26f7c6d331f9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 2 Feb 2009 02:02:31 +0100 Subject: don't use PA_STREAM_NOT_MONOTONOUS anymore --- src/pulse/stream.c | 4 ++-- src/pulse/stream.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pulse/stream.c b/src/pulse/stream.c index 5a29bd63..4efe63e9 100644 --- a/src/pulse/stream.c +++ b/src/pulse/stream.c @@ -877,7 +877,7 @@ static int create_stream( PA_CHECK_VALIDITY(s->context, s->direct_on_input == PA_INVALID_INDEX || direction == PA_STREAM_RECORD, PA_ERR_BADSTATE); PA_CHECK_VALIDITY(s->context, !(flags & ~(PA_STREAM_START_CORKED| PA_STREAM_INTERPOLATE_TIMING| - PA_STREAM_NOT_MONOTONOUS| + PA_STREAM_NOT_MONOTONIC| PA_STREAM_AUTO_TIMING_UPDATE| PA_STREAM_NO_REMAP_CHANNELS| PA_STREAM_NO_REMIX_CHANNELS| @@ -1902,7 +1902,7 @@ int pa_stream_get_time(pa_stream *s, pa_usec_t *r_usec) { usec = calc_time(s, FALSE); /* Make sure the time runs monotonically */ - if (!(s->flags & PA_STREAM_NOT_MONOTONOUS)) { + if (!(s->flags & PA_STREAM_NOT_MONOTONIC)) { if (usec < s->previous_time) usec = s->previous_time; else diff --git a/src/pulse/stream.h b/src/pulse/stream.h index 6cb363c8..1bec1ebf 100644 --- a/src/pulse/stream.h +++ b/src/pulse/stream.h @@ -532,7 +532,7 @@ pa_operation* pa_stream_set_name(pa_stream *s, const char *name, pa_stream_succe * value returned by this function is guaranteed to increase * monotonically. (that means: the returned value is always greater or * equal to the value returned on the last call) This behaviour can - * be disabled by using PA_STREAM_NOT_MONOTONOUS. This may be + * be disabled by using PA_STREAM_NOT_MONOTONIC. This may be * desirable to deal better with bad estimations of transport * latencies, but may have strange effects if the application is not * able to deal with time going 'backwards'. */ -- cgit