summaryrefslogtreecommitdiffstats
path: root/src/fluidsynth-test.c
blob: fc5cb157ca12f3795ae88616df1dbbbaeea4bdbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 This file is part of MXE. See LICENSE.md for licensing information.
 */

#include <fluidsynth.h>

int main(int argc, char *argv[])
{
    fluid_settings_t* settings;
    fluid_synth_t* synth;
    (void)argc;
    (void)argv;
    /* Set up the synthesizer */
    settings = new_fluid_settings();
    synth = new_fluid_synth(settings);

    /* ...and delete it again*/
    delete_fluid_synth(synth);
    delete_fluid_settings(settings);
    return 0;
}