libgig 4.5.0
|
SoundFont specific classes and definitions. More...
Classes | |
class | Region |
Instrument zone. More... |
Typedefs | |
typedef struct sf2::_PresetBag | PresetBag |
typedef uint16_t | SFModulator |
typedef uint16_t | SFGenerator |
typedef uint16_t | SFTransform |
typedef struct sf2::_ModList | ModList |
typedef struct sf2::_RangesType | RangesType |
typedef union sf2::_GenAmountType | GenAmountType |
typedef struct sf2::_GenList | GenList |
typedef struct sf2::_InstBag | InstBag |
typedef std::string | String |
Functions | |
double | ToSeconds (int Timecents) |
double | ToRatio (int Centibels) |
double | ToHz (int cents) |
String | libraryName () |
Returns the name of this C++ library. | |
String | libraryVersion () |
Returns version of this C++ library. | |
RIFF::Chunk * | GetMandatoryChunk (RIFF::List *list, uint32_t chunkId) |
void | LoadString (RIFF::Chunk *ck, std::string &s, int strLength) |
void | VerifySize (RIFF::Chunk *ck, int size) |
Throws an error if the chunk is NULL or the chunk data size is less than size (in bytes). | |
int | CheckRange (std::string genName, int min, int max, int &gen) |
template<bool CLEAR> | |
unsigned long | ReadSample (Sample *pSample, void *pBuffer, unsigned long SampleCount, Sample::buffer_t *tempBuffer=NULL) |
SoundFont specific classes and definitions.
int sf2::CheckRange | ( | std::string | genName, |
int | min, | ||
int | max, | ||
int & | gen ) |
RIFF::Chunk * sf2::GetMandatoryChunk | ( | RIFF::List * | list, |
uint32_t | chunkId ) |
String sf2::libraryName | ( | ) |
Returns the name of this C++ library.
Definition at line 1565 of file SF.cpp.
References libraryName().
Referenced by libraryName().
String sf2::libraryVersion | ( | ) |
Returns version of this C++ library.
Definition at line 1572 of file SF.cpp.
References libraryVersion().
Referenced by libraryVersion().
void sf2::LoadString | ( | RIFF::Chunk * | ck, |
std::string & | s, | ||
int | strLength ) |
|
inline |
void sf2::VerifySize | ( | RIFF::Chunk * | ck, |
int | size ) |
Throws an error if the chunk is NULL or the chunk data size is less than size (in bytes).
Definition at line 77 of file SF.cpp.
References RIFF::Chunk::GetChunkID(), and RIFF::Chunk::GetSize().