From: Stefan Sauer Date: Tue, 4 Oct 2011 21:09:42 +0000 (+0200) Subject: auditestsrc: indent fix X-Git-Tag: 1.19.3~511^2~6555^2~424 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ce811f1edb66ddf179b48d669f0978e5ed48caf;p=platform%2Fupstream%2Fgstreamer.git auditestsrc: indent fix --- diff --git a/gst/audiotestsrc/gstaudiotestsrc.c b/gst/audiotestsrc/gstaudiotestsrc.c index 91ace92..0304b8a 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 */ \