This is FPC header for Sunvox Lib 2.0e. The official header is outdated.
The header dsunvox.pas itself is public domain, but not the library.
Examples are also ported and tested.
- Tested only on Windows
- Additional type
TSunvoxInt
instead ofint
in API calls - Macro
SV_GET_MODULE_XY
has been renamed tosvUnpackModuleXY
to prevent name conflict with API functionsv_get_module_xy
- Macro
SV_GET_MODULE_FINETUNE
has been renamed tosvUnpackModuleFinetune
to prevent name conflict with functionsv_get_module_finetune
- Additional function
svGetLoaderError
instead of printing errorsstdout
which may cause errors in GUI applications