_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include "stratagus.h"
#include "sound.h"
#include "sound_server.h"
#include "iolib.h"
#include "unit.h"
#include <fluidsynth.h>
Classes | |
struct | FluidSynthData |
class | CSynthesizer |
class | CSampleFluidSynth |
class | CSampleFluidSynthStream |
fluidsynth.cpp - FluidSynth support | |
CSynthesizer | FluidSynthesizer |
SynthState | GetFluidSynthState () |
Gets the state of Fluidsynth player. More... | |
void | CleanFluidSynth (bool reinit) |
int | InitFluidSynth () |
Init FluidSynth library. More... | |
CSample * | LoadFluidSynth (const char *name, int flags) |
Load a module file. More... | |
void CleanFluidSynth | ( | bool | reinit | ) |
Cleans FluidSynth data
SynthState GetFluidSynthState | ( | ) |
Gets the state of Fluidsynth player.
Gets the state of Fluidsynth player
int InitFluidSynth | ( | ) |
Init FluidSynth library.
Inits FluidSynth and loads SF2 soundfont
CSample* LoadFluidSynth | ( | const char * | name, |
int | flags | ||
) |
Load a module file.
Load MIDI file using FluidSynth library.
name | MIDI file. |
flags | Unused. |
CSynthesizer FluidSynthesizer |