refactor(song): Remove song length from Song and assume the user knows MAX_SAMPLES

Trying to force a specific song length other than the default never quite worked, so we'll only support the default MAX_SAMPLES & will calculate it for the user in the user in the exported .h header file.
This commit is contained in:
Veikko Sariola
2020-11-29 22:12:29 +02:00
parent e2c6d4b70c
commit a1e7e82d6d
8 changed files with 27 additions and 21 deletions

View File

@ -159,6 +159,7 @@ target_compile_definitions(test_envelope_16bit PUBLIC SU_USE_16BIT_OUTPUT)
regression_test(test_polyphony "ENVELOPE;VCO_SINE")
regression_test(test_chords "ENVELOPE;VCO_SINE")
regression_test(test_speed "ENVELOPE;VCO_SINE")
target_compile_definitions(test_speed PUBLIC MAX_SAMPLES=211592)
regression_test(test_render_samples ENVELOPE "" test_render_samples.c)
target_link_libraries(test_render_samples ${STATICLIB})