mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
auditestsrc: indent fix
This commit is contained in:
parent
ddcda53714
commit
7ce811f1ed
1 changed files with 2 additions and 2 deletions
|
@ -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 */ \
|
||||
|
|
Loading…
Reference in a new issue