auditestsrc: indent fix
authorStefan Sauer <ensonic@users.sf.net>
Tue, 4 Oct 2011 21:09:42 +0000 (23:09 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Tue, 4 Oct 2011 21:10:05 +0000 (23:10 +0200)
gst/audiotestsrc/gstaudiotestsrc.c

index 91ace92a44e2ae762da42dbbee7c9f648415e8b8..0304b8ade67dd2553f6eee5ddf810274417b8460 100644 (file)
@@ -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 */ \