[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] Instrument names, selection etc. through the API
From: |
Pedro Lopez-Cabanillas |
Subject: |
Re: [fluid-dev] Instrument names, selection etc. through the API |
Date: |
Mon, 04 Aug 2014 09:50:05 +0200 |
User-agent: |
KMail/4.11.5 (Linux/3.14.13-100.fc19.x86_64; KDE/4.11.5; x86_64; ; ) |
On Sunday 03 August 2014 18:26:25 Element Green wrote:
> some of the functions are in public headers, but not all of them. For
> example fluid_sfont_iteration_next() is defined in the private header at
> src/sfloader/fluid_sfont.h. Its a simple macro though, which could
> theoretically be done from ones own code, although this seems pretty
> hackish to me. But it would work. Not sure why these weren't put in
> public headers to begin with, since they seem downright useful.
Hi,
The public header is <fluidsynth/sfont.h>
Public API documentation is here:
http://fluidsynth.sourceforge.net/api/struct__fluid__sfont__t.html
http://fluidsynth.sourceforge.net/api/sfont_8h.html
A simple example in C is attached.
Regards,
Pedro
fluidsynth_instr.c
Description: Text Data