From 9f808b1468c73a74d6aa6ace2a3ba9ca558f6ed2 Mon Sep 17 00:00:00 2001 From: vampi Date: Fri, 22 Nov 2024 00:02:45 +0200 Subject: [PATCH] fm driver test fix --- fm-driver-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fm-driver-test.c b/fm-driver-test.c index 81d115b..2b4580b 100644 --- a/fm-driver-test.c +++ b/fm-driver-test.c @@ -41,7 +41,7 @@ int main(int argc, char **argv) { mdx_voice_osc_get_tl(v, 2), mdx_voice_osc_get_tl(v, 3) ); - fm_driver_load_voice((struct fm_driver *)&fm_driver, 2, v, 0, 3); + fm_driver_load_voice((struct fm_driver *)&fm_driver, 2, v, 0, 0, 3); fm_driver_set_pitch((struct fm_driver *)&fm_driver, 2, ((0x2c << 6) + 5) << 8); fm_driver_set_tl((struct fm_driver *)&fm_driver, 2, 0x15, v); fm_driver_note_on((struct fm_driver *)&fm_driver, 2, 0xf, v);