MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
Base Class
NamespacesMPfm.Sound.BassNetWrapperBase
The Base class contains methods for initializing audio devices, creating stream, and more. All methods are static.
Declaration Syntax
C#Visual Basic
public static class Base
Public NotInheritable Class Base
Members
All MembersMethods



IconMemberDescription
ASIO_ControlPanel()()()()
Opens the ASIO control panel of the currently initialized device.

CheckForError()()()()
Checks for an error inside BASS.NET. Throws an exception with the BASS error code if an error is found.

Free()()()()
Free all devices.

FreeBASS()()()()
Frees the BASS library from memory.

FreeFxPlugin()()()()
Frees the BASS FX plugin.

FreePlugin(Int32)
Frees a BASS plugin.

FreePluginDirectory(Dictionary<(Of <<'(Int32, String>)>>))
Frees all the BASS plugins from the directory path.

GetASIOInfo(Boolean, Int32, Int32)
Returns information about the ASIO device.

GetBASSVersion()()()()
Returns the BASS library version. This is the right way to load the BASS plugin under Linux and Mac OS X. Throws an exception if the version doesn't match with the one in BASS.NET.

GetConfig(BASSConfig)
Gets a BASS configuration value.

GetFxPluginVersion()()()()
Returns the BASS FX plugin version. This is the right way to load the FX plugin under Linux and Mac OS X. Throws an exception if the version doesn't match with the one in BASS.NET.

GetInfo()()()()
Gets the BASS information.

GetMixPluginVersion()()()()
Returns the BASS MIX plugin version. This is the right way to load the MIX plugin under Linux and Mac OS X. Throws an exception if the version doesn't match with the one in BASS.NET.

GetVolume()()()()
Gets the device master volume of the default device. This is the same value as the volume fader in the Windows tray.

Init()()()()
Initializes the default DirectSound device at 44100 Hz.

Init(Int32, Int32, BASSInit)
Initializes a DirectSound device by its identifier, using the specified sample rate (frequency) and initialization flags. To get the deviceId, use the DeviceHelper class.

InitASIO()()()()
Initializes the default ASIO device at 44100 Hz.

InitASIO(Int32, Int32, BASSInit, BASSASIOInit)
Initializes an ASIO device by its identifier, using the specified sample rate (frequency) and initialization flags. To get the deviceId, use the DeviceHelper class.

InitWASAPI(WASAPIPROC)
Initializes the default WASAPI device at 44100 Hz. Requires a data callback.

InitWASAPI(Int32, Int32, Int32, BASSInit, BASSWASAPIInit, Single, Single, WASAPIPROC)
Initializes a WASAPI device by its identifier, using the specified sample rate (frequency) and initialization flags. To get the deviceId, use the DeviceHelper class. Requires a data callback.

LevelToDB_16Bit(Double)
Converts a channel level to dB.

LoadFxPlugin()()()()
Loads the BASS FX plugin.

LoadPlugin(String)
Loads a specific BASS plugin.

LoadPluginDirectory(String)
Loads all the BASS plugins in the directory path.

Register(String, String)
Registers the BASS.NET library using the email and registration key.

SetConfig(BASSConfig, Int32)
Sets a BASS configuration value.

SetVolume(Single)
Sets the master volume of the default device. This sets the volume fader value in the Windows tray.

Inheritance Hierarchy
Object
Base

Assembly: MPfm.Sound (Module: MPfm.Sound) Version: 0.5.3.0 (0.5.3.0)