_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes
fluidsynth.cpp File Reference
#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...
 
CSampleLoadFluidSynth (const char *name, int flags)
 Load a module file. More...
 

Function Documentation

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.

Parameters
nameMIDI file.
flagsUnused.
Returns
Returns the loaded sample.

Variable Documentation

CSynthesizer FluidSynthesizer
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.