BASS_CONFIG_FILEOPENPROCS config option

Local file handling functions.

BASS_SetConfigPtr(
    BASS_CONFIG_FILEOPENPROCS,
    BASS_FILEOPENPROCS *procs
);

Parameters

procsThe callback functions to use... NULL = BASS's default file handling.

Remarks

This option sets the functions that are used to open and read local files. As well as being used by functions like BASS_StreamCreateFile and BASS_SampleLoad, they are also used by add-ons. There is usually no need for custom file handling, but it can be useful for when files may actually be in some other storage, not the local file system.

Changes do not affect any already open files.

See also

BASS_GetConfigPtr, BASS_SetConfigPtr