aboutsummaryrefslogtreecommitdiff
path: root/tests/xttest_util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xttest_util.hpp')
-rw-r--r--tests/xttest_util.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/xttest_util.hpp b/tests/xttest_util.hpp
index 381f2cf..dbf075c 100644
--- a/tests/xttest_util.hpp
+++ b/tests/xttest_util.hpp
@@ -5,6 +5,9 @@
// Fill table with sine wave at given frequency and amplitude
void xttest_gen_sine(double *table, uint32_t tablesize, double samplerate, double frequency, double amplitude);
+// Fill table with sawtooth wave at given frequency and amplitude
+void xttest_gen_sawtooth(double *table, uint32_t tablesize, double samplerate, double frequency, double amplitude);
+
// Fill table with noise at given frequency and amplitude
// N.B. The implementation actually provides "fake" noise from a table for reproducible testing
void xttest_gen_noise(double *table, uint32_t tablesize, double amplitude);