From 7ce811f1edb66ddf179b48d669f0978e5ed48caf Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Tue, 4 Oct 2011 23:09:42 +0200 Subject: [PATCH] auditestsrc: indent fix --- gst/audiotestsrc/gstaudiotestsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/audiotestsrc/gstaudiotestsrc.c b/gst/audiotestsrc/gstaudiotestsrc.c index 91ace92a44..0304b8ade6 100644 --- a/gst/audiotestsrc/gstaudiotestsrc.c +++ b/gst/audiotestsrc/gstaudiotestsrc.c @@ -850,9 +850,9 @@ gst_audio_test_src_create_red_noise_##type (GstAudioTestSrc * src, g##type * sam for (i = 0; i < src->generate_samples_per_buffer * src->channels; ) { \ for (c = 0; c < src->channels; ++c) { \ while (TRUE) { \ - gdouble r = g_rand_double_range (src->gen, -1.0, 1.0); \ + gdouble r = g_rand_double_range (src->gen, -1.0, 1.0); \ state += r; \ - if (state<-8.0f || state>8.0f) state -= r; \ + if (state < -8.0f || state > 8.0f) state -= r; \ else break; \ } \ samples[i++] = (g##type) (amp * state * 0.0625f); /* /16.0 */ \ -- 2.34.1