BASS.NET API for the Un4seen BASS Audio Library

BassFxLoadMe Method (String)

BASS.NET API for the Un4seen BASS Audio Library
Loads this library into memory. The library will be loaded from the given path.

Namespace:  Un4seen.Bass.AddOn.Fx
Assembly:  Bass.Net (in Bass.Net.dll) Version:

public static bool LoadMe(
	string path


Type: SystemString
The path of the directory in which to search.

Return Value

Type: Boolean
, if the module could be loaded successfully, else .

This method can be used to make sure, that this specific library has been loaded.

Normally an external library will be loaded into memory when either of the declared methods will be called for the very first time. This results in the very first call to a library method being slower than all subsequent calls.

Moreover some of the BASS libraries and add-ons will introduce new options to the main BASS lib, e.g. new parameters which can be used with BASS_SetConfig(BASSConfig, Int32) or BASS_GetConfig(BASSConfig). But in order to enable BASS using these new options the respective library must have been already loaded. This method can be used to ensure this.

This method can also be used as an alternative way to load a library instead of using the BASS way via BASS_PluginLoad(String). The advantage of this is method here is, that you might locate all your bass dll's in a different directory.


Load BASS and BASS_FX from a different directory:
Bass.LoadMe( @"C:\Development\BASS\_libs" );
BassFx.LoadMe( @"C:\Development\BASS\_libs" );
// when not used anymore...
See Also