zdoom-macos-deps/deps/fluidsynth/include/fluidsynth.h

119 lines
3.4 KiB
C
Raw Normal View History

+ FluidSynth 1.1.6 (with dependencies) http://www.fluidsynth.org/ https://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz curl -LO https://pkg-config.freedesktop.org/releases/pkg-config-0.29.1.tar.gz tar -xf pkg-config-0.29.1.tar.gz cd pkg-config-0.29.1 ./configure --with-internal-glib make install cd .. curl -LO ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz tar -xf libffi-3.2.1.tar.gz cd libffi-3.2.1 ./configure --disable-shared make install cd .. curl -LO http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.xz tar -xf gettext-0.19.8.1.tar.xz cd gettext-0.19.8.1 ./configure --disable-shared make install cd .. curl -LO https://download.gnome.org/sources/glib/2.44/glib-2.44.1.tar.xz tar -xf glib-2.44.1.tar.xz cd glib-2.44.1 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz tar -xf libogg-1.3.2.tar.xz cd libogg-1.3.2 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz tar -xf libvorbis-1.3.5.tar.xz cd libvorbis-1.3.5 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz tar -xf flac-1.3.1.tar.xz cd flac-1.3.1 ./configure --disable-shared --enable-static make install cd .. curl -LO http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz tar -xf libsndfile-1.0.27.tar.gz cd libsndfile-1.0.27 ./configure --disable-shared make install cd .. cd fluidsynth-1.1.6 cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_OSX_SYSROOT=MacOSX10.7.sdk -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/lib -logg -lvorbis -lvorbisenc -lFLAC" -DBUILD_SHARED_LIBS=NO -Denable-framework=NO -Denable-readline=NO -DLIB_SUFFIX="" . make install
2016-10-30 10:23:28 +00:00
/* FluidSynth - A Software Synthesizer
*
* Copyright (C) 2003 Peter Hanappe and others.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
+ FluidSynth 1.1.6 (with dependencies) http://www.fluidsynth.org/ https://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz curl -LO https://pkg-config.freedesktop.org/releases/pkg-config-0.29.1.tar.gz tar -xf pkg-config-0.29.1.tar.gz cd pkg-config-0.29.1 ./configure --with-internal-glib make install cd .. curl -LO ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz tar -xf libffi-3.2.1.tar.gz cd libffi-3.2.1 ./configure --disable-shared make install cd .. curl -LO http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.xz tar -xf gettext-0.19.8.1.tar.xz cd gettext-0.19.8.1 ./configure --disable-shared make install cd .. curl -LO https://download.gnome.org/sources/glib/2.44/glib-2.44.1.tar.xz tar -xf glib-2.44.1.tar.xz cd glib-2.44.1 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz tar -xf libogg-1.3.2.tar.xz cd libogg-1.3.2 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz tar -xf libvorbis-1.3.5.tar.xz cd libvorbis-1.3.5 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz tar -xf flac-1.3.1.tar.xz cd flac-1.3.1 ./configure --disable-shared --enable-static make install cd .. curl -LO http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz tar -xf libsndfile-1.0.27.tar.gz cd libsndfile-1.0.27 ./configure --disable-shared make install cd .. cd fluidsynth-1.1.6 cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_OSX_SYSROOT=MacOSX10.7.sdk -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/lib -logg -lvorbis -lvorbisenc -lFLAC" -DBUILD_SHARED_LIBS=NO -Denable-framework=NO -Denable-readline=NO -DLIB_SUFFIX="" . make install
2016-10-30 10:23:28 +00:00
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
+ FluidSynth 1.1.6 (with dependencies) http://www.fluidsynth.org/ https://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz curl -LO https://pkg-config.freedesktop.org/releases/pkg-config-0.29.1.tar.gz tar -xf pkg-config-0.29.1.tar.gz cd pkg-config-0.29.1 ./configure --with-internal-glib make install cd .. curl -LO ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz tar -xf libffi-3.2.1.tar.gz cd libffi-3.2.1 ./configure --disable-shared make install cd .. curl -LO http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.xz tar -xf gettext-0.19.8.1.tar.xz cd gettext-0.19.8.1 ./configure --disable-shared make install cd .. curl -LO https://download.gnome.org/sources/glib/2.44/glib-2.44.1.tar.xz tar -xf glib-2.44.1.tar.xz cd glib-2.44.1 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz tar -xf libogg-1.3.2.tar.xz cd libogg-1.3.2 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz tar -xf libvorbis-1.3.5.tar.xz cd libvorbis-1.3.5 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz tar -xf flac-1.3.1.tar.xz cd flac-1.3.1 ./configure --disable-shared --enable-static make install cd .. curl -LO http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz tar -xf libsndfile-1.0.27.tar.gz cd libsndfile-1.0.27 ./configure --disable-shared make install cd .. cd fluidsynth-1.1.6 cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_OSX_SYSROOT=MacOSX10.7.sdk -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/lib -logg -lvorbis -lvorbisenc -lFLAC" -DBUILD_SHARED_LIBS=NO -Denable-framework=NO -Denable-readline=NO -DLIB_SUFFIX="" . make install
2016-10-30 10:23:28 +00:00
*
* You should have received a copy of the GNU Lesser General Public
+ FluidSynth 1.1.6 (with dependencies) http://www.fluidsynth.org/ https://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz curl -LO https://pkg-config.freedesktop.org/releases/pkg-config-0.29.1.tar.gz tar -xf pkg-config-0.29.1.tar.gz cd pkg-config-0.29.1 ./configure --with-internal-glib make install cd .. curl -LO ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz tar -xf libffi-3.2.1.tar.gz cd libffi-3.2.1 ./configure --disable-shared make install cd .. curl -LO http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.xz tar -xf gettext-0.19.8.1.tar.xz cd gettext-0.19.8.1 ./configure --disable-shared make install cd .. curl -LO https://download.gnome.org/sources/glib/2.44/glib-2.44.1.tar.xz tar -xf glib-2.44.1.tar.xz cd glib-2.44.1 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz tar -xf libogg-1.3.2.tar.xz cd libogg-1.3.2 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz tar -xf libvorbis-1.3.5.tar.xz cd libvorbis-1.3.5 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz tar -xf flac-1.3.1.tar.xz cd flac-1.3.1 ./configure --disable-shared --enable-static make install cd .. curl -LO http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz tar -xf libsndfile-1.0.27.tar.gz cd libsndfile-1.0.27 ./configure --disable-shared make install cd .. cd fluidsynth-1.1.6 cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_OSX_SYSROOT=MacOSX10.7.sdk -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/lib -logg -lvorbis -lvorbisenc -lFLAC" -DBUILD_SHARED_LIBS=NO -Denable-framework=NO -Denable-readline=NO -DLIB_SUFFIX="" . make install
2016-10-30 10:23:28 +00:00
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA
*/
#ifndef _FLUIDSYNTH_H
#define _FLUIDSYNTH_H
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
#define BUILD_SHARED_LIBS 0
#if (BUILD_SHARED_LIBS == 0)
#define FLUIDSYNTH_API // building static lib? no visibility control then
#elif defined(WIN32)
#if defined(FLUIDSYNTH_NOT_A_DLL)
#define FLUIDSYNTH_API
#elif defined(FLUIDSYNTH_DLL_EXPORTS)
#define FLUIDSYNTH_API __declspec(dllexport)
#else
#define FLUIDSYNTH_API __declspec(dllimport)
#endif
+ FluidSynth 1.1.6 (with dependencies) http://www.fluidsynth.org/ https://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz curl -LO https://pkg-config.freedesktop.org/releases/pkg-config-0.29.1.tar.gz tar -xf pkg-config-0.29.1.tar.gz cd pkg-config-0.29.1 ./configure --with-internal-glib make install cd .. curl -LO ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz tar -xf libffi-3.2.1.tar.gz cd libffi-3.2.1 ./configure --disable-shared make install cd .. curl -LO http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.xz tar -xf gettext-0.19.8.1.tar.xz cd gettext-0.19.8.1 ./configure --disable-shared make install cd .. curl -LO https://download.gnome.org/sources/glib/2.44/glib-2.44.1.tar.xz tar -xf glib-2.44.1.tar.xz cd glib-2.44.1 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz tar -xf libogg-1.3.2.tar.xz cd libogg-1.3.2 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz tar -xf libvorbis-1.3.5.tar.xz cd libvorbis-1.3.5 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz tar -xf flac-1.3.1.tar.xz cd flac-1.3.1 ./configure --disable-shared --enable-static make install cd .. curl -LO http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz tar -xf libsndfile-1.0.27.tar.gz cd libsndfile-1.0.27 ./configure --disable-shared make install cd .. cd fluidsynth-1.1.6 cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_OSX_SYSROOT=MacOSX10.7.sdk -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/lib -logg -lvorbis -lvorbisenc -lFLAC" -DBUILD_SHARED_LIBS=NO -Denable-framework=NO -Denable-readline=NO -DLIB_SUFFIX="" . make install
2016-10-30 10:23:28 +00:00
#elif defined(MACOS9)
#define FLUIDSYNTH_API __declspec(export)
#elif defined(__GNUC__)
#define FLUIDSYNTH_API __attribute__ ((visibility ("default")))
+ FluidSynth 1.1.6 (with dependencies) http://www.fluidsynth.org/ https://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz curl -LO https://pkg-config.freedesktop.org/releases/pkg-config-0.29.1.tar.gz tar -xf pkg-config-0.29.1.tar.gz cd pkg-config-0.29.1 ./configure --with-internal-glib make install cd .. curl -LO ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz tar -xf libffi-3.2.1.tar.gz cd libffi-3.2.1 ./configure --disable-shared make install cd .. curl -LO http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.xz tar -xf gettext-0.19.8.1.tar.xz cd gettext-0.19.8.1 ./configure --disable-shared make install cd .. curl -LO https://download.gnome.org/sources/glib/2.44/glib-2.44.1.tar.xz tar -xf glib-2.44.1.tar.xz cd glib-2.44.1 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz tar -xf libogg-1.3.2.tar.xz cd libogg-1.3.2 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz tar -xf libvorbis-1.3.5.tar.xz cd libvorbis-1.3.5 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz tar -xf flac-1.3.1.tar.xz cd flac-1.3.1 ./configure --disable-shared --enable-static make install cd .. curl -LO http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz tar -xf libsndfile-1.0.27.tar.gz cd libsndfile-1.0.27 ./configure --disable-shared make install cd .. cd fluidsynth-1.1.6 cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_OSX_SYSROOT=MacOSX10.7.sdk -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/lib -logg -lvorbis -lvorbisenc -lFLAC" -DBUILD_SHARED_LIBS=NO -Denable-framework=NO -Denable-readline=NO -DLIB_SUFFIX="" . make install
2016-10-30 10:23:28 +00:00
#else
#define FLUIDSYNTH_API
#endif
#if defined(__GNUC__) || defined(__clang__)
# define FLUID_DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER) && _MSC_VER > 1200
# define FLUID_DEPRECATED __declspec(deprecated)
#else
# define FLUID_DEPRECATED
+ FluidSynth 1.1.6 (with dependencies) http://www.fluidsynth.org/ https://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz curl -LO https://pkg-config.freedesktop.org/releases/pkg-config-0.29.1.tar.gz tar -xf pkg-config-0.29.1.tar.gz cd pkg-config-0.29.1 ./configure --with-internal-glib make install cd .. curl -LO ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz tar -xf libffi-3.2.1.tar.gz cd libffi-3.2.1 ./configure --disable-shared make install cd .. curl -LO http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.xz tar -xf gettext-0.19.8.1.tar.xz cd gettext-0.19.8.1 ./configure --disable-shared make install cd .. curl -LO https://download.gnome.org/sources/glib/2.44/glib-2.44.1.tar.xz tar -xf glib-2.44.1.tar.xz cd glib-2.44.1 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz tar -xf libogg-1.3.2.tar.xz cd libogg-1.3.2 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz tar -xf libvorbis-1.3.5.tar.xz cd libvorbis-1.3.5 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz tar -xf flac-1.3.1.tar.xz cd flac-1.3.1 ./configure --disable-shared --enable-static make install cd .. curl -LO http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz tar -xf libsndfile-1.0.27.tar.gz cd libsndfile-1.0.27 ./configure --disable-shared make install cd .. cd fluidsynth-1.1.6 cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_OSX_SYSROOT=MacOSX10.7.sdk -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/lib -logg -lvorbis -lvorbisenc -lFLAC" -DBUILD_SHARED_LIBS=NO -Denable-framework=NO -Denable-readline=NO -DLIB_SUFFIX="" . make install
2016-10-30 10:23:28 +00:00
#endif
/**
* @file fluidsynth.h
* @brief FluidSynth is a real-time synthesizer designed for SoundFont(R) files.
*
* This is the header of the fluidsynth library and contains the
* synthesizer's public API.
*
* Depending on how you want to use or extend the synthesizer you
* will need different API functions. You probably do not need all
* of them. Here is what you might want to do:
*
* - Embedded synthesizer: create a new synthesizer and send MIDI
* events to it. The sound goes directly to the audio output of
* your system.
*
* - Plugin synthesizer: create a synthesizer and send MIDI events
* but pull the audio back into your application.
*
* - SoundFont plugin: create a new type of "SoundFont" and allow
* the synthesizer to load your type of SoundFonts.
*
* - MIDI input: Create a MIDI handler to read the MIDI input on your
* machine and send the MIDI events directly to the synthesizer.
*
* - MIDI files: Open MIDI files and send the MIDI events to the
* synthesizer.
*
* - Command lines: You can send textual commands to the synthesizer.
*
* SoundFont(R) is a registered trademark of E-mu Systems, Inc.
*/
#include "fluidsynth/types.h"
#include "fluidsynth/settings.h"
#include "fluidsynth/synth.h"
#include "fluidsynth/shell.h"
#include "fluidsynth/sfont.h"
#include "fluidsynth/audio.h"
#include "fluidsynth/event.h"
#include "fluidsynth/midi.h"
#include "fluidsynth/seq.h"
#include "fluidsynth/seqbind.h"
#include "fluidsynth/log.h"
#include "fluidsynth/misc.h"
#include "fluidsynth/mod.h"
#include "fluidsynth/gen.h"
#include "fluidsynth/voice.h"
#include "fluidsynth/version.h"
2019-09-01 07:43:02 +00:00
#include "fluidsynth/ladspa.h"
+ FluidSynth 1.1.6 (with dependencies) http://www.fluidsynth.org/ https://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz curl -LO https://pkg-config.freedesktop.org/releases/pkg-config-0.29.1.tar.gz tar -xf pkg-config-0.29.1.tar.gz cd pkg-config-0.29.1 ./configure --with-internal-glib make install cd .. curl -LO ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz tar -xf libffi-3.2.1.tar.gz cd libffi-3.2.1 ./configure --disable-shared make install cd .. curl -LO http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.xz tar -xf gettext-0.19.8.1.tar.xz cd gettext-0.19.8.1 ./configure --disable-shared make install cd .. curl -LO https://download.gnome.org/sources/glib/2.44/glib-2.44.1.tar.xz tar -xf glib-2.44.1.tar.xz cd glib-2.44.1 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz tar -xf libogg-1.3.2.tar.xz cd libogg-1.3.2 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz tar -xf libvorbis-1.3.5.tar.xz cd libvorbis-1.3.5 ./configure --disable-shared make install cd .. curl -LO http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz tar -xf flac-1.3.1.tar.xz cd flac-1.3.1 ./configure --disable-shared --enable-static make install cd .. curl -LO http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz tar -xf libsndfile-1.0.27.tar.gz cd libsndfile-1.0.27 ./configure --disable-shared make install cd .. cd fluidsynth-1.1.6 cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_OSX_SYSROOT=MacOSX10.7.sdk -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/lib -logg -lvorbis -lvorbisenc -lFLAC" -DBUILD_SHARED_LIBS=NO -Denable-framework=NO -Denable-readline=NO -DLIB_SUFFIX="" . make install
2016-10-30 10:23:28 +00:00
#ifdef __cplusplus
}
#endif
#endif /* _FLUIDSYNTH_H */