don't use PA_STREAM_NOT_MONOTONOUS anymore
authorLennart Poettering <lennart@poettering.net>
Mon, 2 Feb 2009 01:02:31 +0000 (02:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Feb 2009 01:02:31 +0000 (02:02 +0100)
src/pulse/stream.c
src/pulse/stream.h

index 5a29bd6..4efe63e 100644 (file)
@@ -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
index 6cb363c..1bec1eb 100644 (file)
@@ -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'. */