mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-23 04:12:13 +00:00
add fluidsynth test
This commit is contained in:
parent
5582393eb7
commit
7cbc332170
1 changed files with 17 additions and 0 deletions
17
test/fluidsynth.cpp
Normal file
17
test/fluidsynth.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
#include <fluidsynth.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
AEDI_EXPECT(fluid_version_str() != nullptr);
|
||||
|
||||
fluid_settings_t* settings = new_fluid_settings();
|
||||
AEDI_EXPECT(settings != nullptr);
|
||||
|
||||
fluid_synth_t* synth = new_fluid_synth(settings);
|
||||
AEDI_EXPECT(synth != nullptr);
|
||||
|
||||
delete_fluid_synth(synth);
|
||||
delete_fluid_settings(settings);
|
||||
}
|
Loading…
Reference in a new issue