BASS_CONFIG_MIDI_SFZHEAD config option


A header to prepend to all SFZ files.

BASS_SetConfigPtr(
    BASS_CONFIG_MIDI_SFZHEAD,
    char *header
);

Parameters

headerThe header... NULL = no header.

Remarks

The header is processed by BASS_MIDI_FontInit and BASS_MIDI_FontInitUser before every SFZ file (not #include directives). It can be useful for defining macros.

A copy is made of the provided string, so it does not need to persist beyond the BASS_SetConfigPtr call. Changes take effect from the next BASS_MIDI_FontInit or BASS_MIDI_FontInitUser call. Already loaded SFZ files are unaffected.

See also

BASS_MIDI_FontInit, BASS_MIDI_FontInitUser

BASS_GetConfigPtr, BASS_SetConfigPtr