NO-OP indent
authorRobin Gareus <robin@gareus.org>
Sun, 22 May 2016 17:36:54 +0000 (19:36 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 22 May 2016 17:36:54 +0000 (19:36 +0200)
libs/backends/dummy/dummy_audiobackend.cc

index 3bbb16878afd0e415f7dbb29ff2ebf2ac812409e..0d3567f3e7130d5a2419d0e2f1d9282d3fcf2c09 100644 (file)
@@ -1724,16 +1724,16 @@ DummyAudioPort::setup_generator (GeneratorType const g, float const samplerate,
                        break;
                case SineWaveOctaves:
                        {
-                                const int x = c - floor (((float)total / 2));
-                                float f = powf (2.f, x / 3.f) * 1000.f;
-                                f = std::max (10.f, std::min (samplerate *.5f, f));
-                                const size_t mult = fit_wave (f, samplerate);
-                                _gen_period = rintf ((float)mult * samplerate / f);
-                                       name = "Sine " + format_hz (samplerate * mult / (float)_gen_period);
-                                _wavetable = (Sample*) malloc (_gen_period * sizeof(Sample));
-                                for (uint32_t i = 0 ; i < _gen_period; ++i) {
-                                        _wavetable[i] = .12589f * sinf(2.0f * M_PI * (float)mult * (float)i / (float)(_gen_period)); // -18dBFS
-                                }
+                               const int x = c - floor (((float)total / 2));
+                               float f = powf (2.f, x / 3.f) * 1000.f;
+                               f = std::max (10.f, std::min (samplerate *.5f, f));
+                               const size_t mult = fit_wave (f, samplerate);
+                               _gen_period = rintf ((float)mult * samplerate / f);
+                               name = "Sine " + format_hz (samplerate * mult / (float)_gen_period);
+                               _wavetable = (Sample*) malloc (_gen_period * sizeof(Sample));
+                               for (uint32_t i = 0 ; i < _gen_period; ++i) {
+                                       _wavetable[i] = .12589f * sinf(2.0f * M_PI * (float)mult * (float)i / (float)(_gen_period)); // -18dBFS
+                               }
                        }
                        break;
                case SineWave: