ModuleConfig.loadVocFile

Loads a Dialogic ADPCM (voc/af4) file into a module.

class ModuleConfig
protected
void
loadVocFile
(,
int waveID
,
string path
,
string dataPak = null
)

Parameters

mod AudioModule

The module, that needs the waveform data.

waveID int

The waveform ID. Conflicting waveforms will be automatically overwitten.

path string

Path of the file to be loaded.

dataPak string

If a DataPak is used, then the path to it must be specified there, otherwise it's null.

Meta