diff options
author | Martijn van Beurden <mvanb1@gmail.com> | 2022-05-03 09:42:26 +0200 |
---|---|---|
committer | Martijn van Beurden <mvanb1@gmail.com> | 2022-05-03 11:10:15 +0200 |
commit | cda987f7c5279bfd9747be9883e2a348a197866c (patch) | |
tree | e4594a383dcc6335066d0a0549e0358b58ca3f9e /src | |
parent | e3a9212bfc4ee1f541f0df4b8d4f4da4d7095bd1 (diff) | |
download | flac-cda987f7c5279bfd9747be9883e2a348a197866c.tar.gz |
Lengthen test_compression.sh material for benchmarking on CI
This is necessary to compare CI WITH_ASM=1 and WITH_ASM=0 to be able
to check whether this switch does anything
Diffstat (limited to 'src')
-rw-r--r-- | src/test_streams/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test_streams/main.c b/src/test_streams/main.c index 12366f0a..3cef9561 100644 --- a/src/test_streams/main.c +++ b/src/test_streams/main.c @@ -956,14 +956,15 @@ static FLAC__bool generate_noisy_sine(void) int64_t randstate = 0x1243456; double sample, last_val = 0.0; int k; + int seconds = 300; if(0 == (f = fopen("noisy-sine.wav", "wb"))) return false; - if(!write_simple_wavex_header (f, 44100, 1, 2, 220500)) + if(!write_simple_wavex_header (f, 44100, 1, 2, 44100*seconds)) goto foo; - for (k = 0 ; k < 5 * 44100 ; k++) { + for (k = 0 ; k < seconds * 44100 ; k++) { /* Obvioulsy not a crypto quality RNG. */ randstate = 11117 * randstate + 211231; randstate = 11117 * randstate + 211231; |