mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-07 17:01:18 +00:00
update test_sfont_loading to call fluid_is_soundfont()
This commit is contained in:
parent
ba9092ef98
commit
dde52c35dd
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ int main(void)
|
||||||
// no sfont loaded
|
// no sfont loaded
|
||||||
TEST_ASSERT(fluid_synth_sfcount(synth) == 0);
|
TEST_ASSERT(fluid_synth_sfcount(synth) == 0);
|
||||||
|
|
||||||
|
TEST_ASSERT(fluid_is_soundfont(TEST_SOUNDFONT) == TRUE);
|
||||||
|
|
||||||
// load a sfont to synth
|
// load a sfont to synth
|
||||||
TEST_SUCCESS(id = fluid_synth_sfload(synth, TEST_SOUNDFONT, 1));
|
TEST_SUCCESS(id = fluid_synth_sfload(synth, TEST_SOUNDFONT, 1));
|
||||||
// one sfont loaded
|
// one sfont loaded
|
||||||
|
|
Loading…
Reference in a new issue