From 58b9818853417cf85ffb716c9f6b9c3489c293bd Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Sat, 21 May 2011 16:02:36 +0300 Subject: [PATCH] baseaudiosink: trivial comment fixes Some found by Havard Graff. Signed-off-by: Felipe Contreras --- gst-libs/gst/audio/gstbaseaudiosink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/audio/gstbaseaudiosink.c b/gst-libs/gst/audio/gstbaseaudiosink.c index a747750..0d44e2d 100644 --- a/gst-libs/gst/audio/gstbaseaudiosink.c +++ b/gst-libs/gst/audio/gstbaseaudiosink.c @@ -58,7 +58,7 @@ struct _GstBaseAudioSinkPrivate GstClockTime eos_time; gboolean do_time_offset; - /* number of microseconds we alow timestamps or clock slaving to drift + /* number of microseconds we allow timestamps or clock slaving to drift * before resyncing */ guint64 drift_tolerance; }; @@ -216,7 +216,7 @@ gst_base_audio_sink_class_init (GstBaseAudioSinkClass * klass) /** * GstBaseAudioSink:drift-tolerance * - * Controls the amount of time in milliseconds that timestamps or clocks are allowed + * Controls the amount of time in microseconds that timestamps or clocks are allowed * to drift before resynchronisation happens. * * Since: 0.10.26 @@ -1352,7 +1352,7 @@ gst_base_audio_sink_get_alignment (GstBaseAudioSink * sink, diff = sink->next_sample - sample_offset; /* calculate the max allowed drift in units of samples. By default this is - * 20ms and should be anough to compensate for timestamp rounding errors. */ + * 40ms and should be anough to compensate for timestamp rounding errors. */ maxdrift = (ringbuf->spec.rate * sink->priv->drift_tolerance) / GST_MSECOND; /* calc align with previous sample */ -- 2.7.4