BASS.NET API for the Un4seen BASS Audio Library

Bass Methods

BASS.NET API for the Un4seen BASS Audio Library

The Bass type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBASS_Apply3D
Applies changes made to the 3D system.
Public methodStatic memberCode exampleBASS_ChannelBytes2Seconds
Translates a byte position into time (seconds), based on a channel's format.
Public methodStatic memberCode exampleBASS_ChannelFlags
Modifies and retrieves a channel's flags.
Public methodStatic memberBASS_ChannelFree
Frees a sample stream's resources, including any sync/DSP/FX it has.
Public methodStatic memberCode exampleBASS_ChannelGet3DAttributes(Int32, Object, Object, Object, Object, Object, Object)
Retrieves the 3D attributes of a sample, stream, or MOD music channel with 3D functionality.
Public methodStatic memberCode exampleBASS_ChannelGet3DAttributes(Int32, BASS3DMode, Single, Single, Int32, Int32, Int32)
Retrieves the 3D attributes of a sample, stream, or MOD music channel with 3D functionality.
Public methodStatic memberCode exampleBASS_ChannelGet3DPosition
Retrieves the 3D position of a sample, stream, or MOD music channel with 3D functionality.
Public methodStatic memberCode exampleBASS_ChannelGetAttribute(Int32, BASSAttribute, Single)
Retrieves the value of an attribute of a sample, stream or MOD music. Can also get the sample rate of a recording channel.
Public methodStatic memberCode exampleBASS_ChannelGetAttribute(Int32, BASSAttribute, IntPtr, Int32)
Retrieves the value of a channel's attribute.
Public methodStatic memberCode exampleBASS_ChannelGetData(Int32, Byte, Int32)
Retrieves the immediate sample data of a sample channel, stream, MOD music, or recording channel. This overload uses a managed byte[] to reference the buffer data! SHOULD ONLY BE USED, if the stream was created with BASS_SAMPLE_8BITS!
Public methodStatic memberCode exampleBASS_ChannelGetData(Int32, Int16, Int32)
Retrieves the immediate sample data of a sample channel, stream, MOD music, or recording channel. This overload uses a managed short[] to reference the buffer data as 16-bit values - each element will represent one channel in this case! SHOULD ONLY BE USED, if the stream was created WITHOUT BASS_SAMPLE_FLOAT or BASS_SAMPLE_8BITS!
Public methodStatic memberCode exampleBASS_ChannelGetData(Int32, Int32, Int32)
Retrieves the immediate sample data of a sample channel, stream, MOD music, or recording channel. This overload uses a managed int[] to reference the buffer data (Note: an int is 32-bit meaning if we expect to receive 16-bit data stereo a single int value will contain 2 x 16-bit, so a full stereo pair of data)! SHOULD ONLY BE USED, if the stream was created WITHOUT BASS_SAMPLE_FLOAT or BASS_SAMPLE_8BITS!
Public methodStatic memberCode exampleBASS_ChannelGetData(Int32, IntPtr, Int32)
Retrieves the immediate sample data (or an FFT representation of it) of a sample channel, stream, MOD music, or recording channel. This overload uses an IntPtr to reference the buffer data.
Public methodStatic memberCode exampleBASS_ChannelGetData(Int32, Single, Int32)
Retrieves the immediate sample data (or an FFT representation of it) of a sample channel, stream, MOD music, or recording channel. This overload uses a managed float[] to reference the buffer data as 32-bit! SHOULD ONLY BE USED, if the stream was created with BASS_SAMPLE_FLOAT!
Public methodStatic memberCode exampleBASS_ChannelGetDevice
Retrieves the device that the channel is using.
Public methodStatic memberCode exampleBASS_ChannelGetInfo(Int32)
Retrieves information on a channel.
Public methodStatic memberCode exampleBASS_ChannelGetInfo(Int32, BASS_CHANNELINFO)
Retrieves information on a channel.
Public methodStatic memberCode exampleBASS_ChannelGetLength(Int32)
Retrieves the playback length in bytes of a channel.
Public methodStatic memberCode exampleBASS_ChannelGetLength(Int32, BASSMode)
Retrieves the playback length of a channel.
Public methodStatic memberCode exampleBASS_ChannelGetLevel(Int32)
Retrieves the level (peak amplitude) of a sample, stream, MOD music or recording channel.
Public methodStatic memberBASS_ChannelGetLevel(Int32, Single, Single, BASSLevel)
Retrieves the level (peak amplitude) of a sample, stream, MOD music or recording channel.
Public methodStatic memberBASS_ChannelGetLevels
Retrieves the level (peak amplitude) of a sample, stream, MOD music or recording channel.
Public methodStatic memberBASS_ChannelGetMidiTrackText
Retrieves a specific MIDI track text from a channel, if it is available.
Public methodStatic memberBASS_ChannelGetMusicInstrument
Retrieves a specific MOD instrument name from a channel, if it is available.
Public methodStatic memberBASS_ChannelGetMusicMessage
Retrieves the MOD message text from a channel, if it is available.
Public methodStatic memberBASS_ChannelGetMusicName
Retrieves the MOD music title from a channel, if it is available.
Public methodStatic memberCode exampleBASS_ChannelGetMusicSample
Retrieves a specific MOD sample name from a channel, if it is available.
Public methodStatic memberCode exampleBASS_ChannelGetPosition(Int32)
Retrieves the playback position in bytes of a sample, stream, or MOD music. Can also be used with a recording channel.
Public methodStatic memberCode exampleBASS_ChannelGetPosition(Int32, BASSMode)
Retrieves the playback position of a sample, stream, or MOD music. Can also be used with a recording channel.
Public methodStatic memberBASS_ChannelGetTagLyrics3v2
Retrieves a Lyrics3v2 tag.
Public methodStatic memberCode exampleBASS_ChannelGetTags
Retrieves the requested tags/headers from a channel, if they are available.
Public methodStatic memberCode exampleBASS_ChannelGetTagsAPE
Retrieves the APE (v1 or v2) header tags from a channel, if they are available.

This special helper method already evaluates the null-terminated and variable length data block using UTF-8 strings.

Public methodStatic memberCode exampleBASS_ChannelGetTagsAPEBinary
Retrieves all APE binary tags from a channel, if they are available.
Public methodStatic memberCode exampleBASS_ChannelGetTagsAPEPictures
Retrieves all APEv2 picture tags from a channel, if they are available.
Public methodStatic memberBASS_ChannelGetTagsArrayNullTermAnsi
Retrieves the header tags from a channel, if they are available.

NOTE: This method evaluates the header as a series/array of null-terminated Ansi strings.

Might be used e.g. with: RIFF_INFO, ICY and HTTP.

Public methodStatic memberBASS_ChannelGetTagsArrayNullTermUtf8
Retrieves the header tags from a channel, if they are available.

NOTE: This method evaluates the header as a series/array of null-terminated UTF-8 strings.

Might be used e.g. with: APE, MP4, OGG and WMA - if UTF-8!

Public methodStatic memberBASS_ChannelGetTagsBWF
Retrieves the Broadcast Audio Extension (BEXT) tags from a channel, if they are available.

This special helper method already evaluates the BEXT data block.

Public methodStatic memberBASS_ChannelGetTagsCA
Retrieves the CoreAudio codec information structure from a channel, if they are available.
Public methodStatic memberBASS_ChannelGetTagsDSDArtist
Gets a DSDIFF Artist tags.
Public methodStatic memberBASS_ChannelGetTagsDSDComments
Gets all available DSDIFF comment tags.
Public methodStatic memberBASS_ChannelGetTagsDSDTitle
Gets a DSDIFF Title tags.
Public methodStatic memberCode exampleBASS_ChannelGetTagsFLACCuesheet
Retrieves a FLAC cuesheet tags from a channel, if available.
Public methodStatic memberCode exampleBASS_ChannelGetTagsFLACPictures
Retrieves all FLAC picture tags from a channel, if they are available.
Public methodStatic memberCode exampleBASS_ChannelGetTagsHTTP
Retrieves the HTTP header tags from a channel, if they are available.

This special helper method already evaluates the null-terminated and variable length data block using ANSI strings.

Public methodStatic memberCode exampleBASS_ChannelGetTagsICY
Retrieves the ICY (Shoutcast) tags from a channel, if they are available.

This special helper method already evaluates the null-terminated and variable length data block using ANSI strings.

Public methodStatic memberCode exampleBASS_ChannelGetTagsID3V1
Retrieves the ID3v1 tags from a channel, if they are available.

This special helper method already evaluates the 128-byte ID3v3 data block.

Public methodStatic memberCode exampleBASS_ChannelGetTagsID3V2
Retrieves the ID3v2 header tags from a channel, if they are available.
Public methodStatic memberBASS_ChannelGetTagsID3V2_2
Retrieves the 2nd ID3v2 header tags from a channel, if they are available.
Public methodStatic memberCode exampleBASS_ChannelGetTagsMETA
Retrieves metadata tags from a channel (Shoutcast or Icecast), if they are available.
Public methodStatic memberCode exampleBASS_ChannelGetTagsMF
Retrieves the Media Foundation tags from a channel, if they are available.

This special helper method already evaluates the null-terminated and variable length data block using UTF-8 strings.

Public methodStatic memberCode exampleBASS_ChannelGetTagsMP4
Retrieves the MP4 header tags from a channel, if they are available.

This special helper method already evaluates the null-terminated and variable length data block using UTF-8 strings.

Public methodStatic memberCode exampleBASS_ChannelGetTagsOGG
Retrieves the OGG tags from a channel, if they are available.

This special helper method already evaluates the null-terminated and variable length data block using UTF-8 strings.

Public methodStatic memberCode exampleBASS_ChannelGetTagsRIFF
Retrieves the RIFF/WAVE Info tags from a channel, if they are available.

This special helper method already evaluates the null-terminated and variable length data block using ANSI strings.

Public methodStatic memberBASS_ChannelGetTagsRIFFCUE
Gets an available RIFF "cue " tags.
Public methodStatic memberBASS_ChannelGetTagsWAVEFORMAT
Retrieves the WAVE "fmt" chunk contents (WAVEFORMATEXT structure).

As well as WAVE files, this is also provided by Media Foundation codecs.

Public methodStatic memberCode exampleBASS_ChannelGetTagsWMA
Retrieves the WMA header tags or mid-stream tags from a channel, if they are available.

This special helper method already evaluates the null-terminated and variable length data block using UTF-8 strings.

Public methodStatic memberCode exampleBASS_ChannelIsActive
Checks if a sample, stream, or MOD music is active (playing) or stalled. Can also check if a recording is in progress.
Public methodStatic memberCode exampleBASS_ChannelIsSliding
Checks if an attribute (or any attribute) of a sample, stream, or MOD music is sliding.
Public methodStatic memberCode exampleBASS_ChannelLock
Locks a stream, MOD music or recording channel to the current thread.
Public methodStatic memberBASS_ChannelPause
Pauses a sample, stream, MOD music, or recording.
Public methodStatic memberCode exampleBASS_ChannelPlay
Starts (or resumes) playback of a sample, stream, MOD music, or recording.
Public methodStatic memberBASS_ChannelRemoveDSP
Removes a DSP function from a stream, MOD music, or recording channel.
Public methodStatic memberBASS_ChannelRemoveFX
Removes an effect on a stream, MOD music, or recording channel.
Public methodStatic memberBASS_ChannelRemoveLink
Removes a links between two MOD music or stream channels.
Public methodStatic memberBASS_ChannelRemoveSync
Removes a synchronizer from a MOD music or stream channel.
Public methodStatic memberCode exampleBASS_ChannelSeconds2Bytes
Translates a time (seconds) position into bytes, based on a channel's format.
Public methodStatic memberBASS_ChannelSet3DAttributes
Sets the 3D attributes of a sample, stream, or MOD music channel with 3D functionality.
Public methodStatic memberBASS_ChannelSet3DPosition
Sets the 3D position of a sample, stream, or MOD music channel with 3D functionality.
Public methodStatic memberCode exampleBASS_ChannelSetAttribute(Int32, BASSAttribute, Single)
Sets the value of an attribute of a sample, stream or MOD music.
Public methodStatic memberCode exampleBASS_ChannelSetAttribute(Int32, BASSAttribute, IntPtr, Int32)
Sets the value of a channel's attribute.
Public methodStatic memberCode exampleBASS_ChannelSetDevice
Changes the device that a stream, MOD music or sample is using.
Public methodStatic memberCode exampleBASS_ChannelSetDSP
Sets up a user DSP function on a stream, MOD music, or recording channel.
Public methodStatic memberCode exampleBASS_ChannelSetFX
Sets an effect on a stream, MOD music, or recording channel.
Public methodStatic memberCode exampleBASS_ChannelSetLink
Links two MOD music or stream channels together.
Public methodStatic memberBASS_ChannelSetPosition(Int32, Double)
Sets the playback position of a sample or stream to the given seconds value.
Public methodStatic memberCode exampleBASS_ChannelSetPosition(Int32, Int64)
Sets the playback position in bytes of a sample, MOD music, or stream.
Public methodStatic memberBASS_ChannelSetPosition(Int32, Int32, Int32)
Sets the playback position in order.row of a MOD music.
Public methodStatic memberCode exampleBASS_ChannelSetPosition(Int32, Int64, BASSMode)
Sets the playback position of a sample, MOD music, or stream.
Public methodStatic memberCode exampleBASS_ChannelSetSync
Sets up a synchronizer on a MOD music, stream or recording channel.
Public methodStatic memberCode exampleBASS_ChannelSlideAttribute
Slides a channel's attribute from its current value to a new value.
Public methodStatic memberCode exampleBASS_ChannelStart
Starts/resumes playback of a sample, stream, MOD music, or a recording.
Public methodStatic memberBASS_ChannelStop
Stops a sample, stream, MOD music, or recording.
Public methodStatic memberCode exampleBASS_ChannelUpdate
Updates the playback buffer of a stream or MOD music.
Public methodStatic memberBASS_ErrorGetCode
Retrieves the error code for the most recent BASS function call in the current thread.
Public methodStatic memberCode exampleBASS_Free
Frees all resources used by the output device, including all it's samples, streams, and MOD musics.
Public methodStatic memberBASS_FXGetParameters(Int32, IntPtr)
Retrieves the parameters of an effect.
Public methodStatic memberCode exampleBASS_FXGetParameters(Int32, Object)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_AUTOWAH)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_BQF)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_CHORUS)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_COMPRESSOR2)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_DAMP)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_DISTORTION)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_ECHO4)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_PEAKEQ)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_PHASER)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_ROTATE)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_BFX_VOLUME)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_DX8_CHORUS)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_DX8_COMPRESSOR)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_DX8_DISTORTION)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_DX8_ECHO)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_DX8_FLANGER)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_DX8_GARGLE)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_DX8_I3DL2REVERB)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_DX8_PARAMEQ)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_DX8_REVERB)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXGetParameters(Int32, BASS_FX_VOLUME_PARAM)
Retrieves the parameters of an effect.
Public methodStatic memberBASS_FXReset
Resets the state of an effect or all effects on a channel.
Public methodStatic memberBASS_FXSetParameters(Int32, IntPtr)
Sets the parameters of an effect.
Public methodStatic memberCode exampleBASS_FXSetParameters(Int32, Object)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_AUTOWAH)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_BQF)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_CHORUS)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_COMPRESSOR2)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_DAMP)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_DISTORTION)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_ECHO4)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_PEAKEQ)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_PHASER)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_ROTATE)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_BFX_VOLUME)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_DX8_CHORUS)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_DX8_COMPRESSOR)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_DX8_DISTORTION)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_DX8_ECHO)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_DX8_FLANGER)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_DX8_GARGLE)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_DX8_I3DL2REVERB)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_DX8_PARAMEQ)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_DX8_REVERB)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetParameters(Int32, BASS_FX_VOLUME_PARAM)
Sets the parameters of an effect.
Public methodStatic memberBASS_FXSetPriority
Changes the priority of an DSP/FX effect.
Public methodStatic memberCode exampleBASS_Get3DFactors(Object, Object, Object)
Retrieves the factors that affect the calculations of 3D sound.

This overload uses objects (so you can pass in order to NOT retrieve a value). However a requested return value needs to be casted back into a float after getting it.

Public methodStatic memberCode exampleBASS_Get3DFactors(Single, Single, Single)
Retrieves the factors that affect the calculations of 3D sound.

This overload allows you to only get all three values at a time.

Public methodStatic memberCode exampleBASS_Get3DPosition
Retrieves the position, velocity, and orientation of the listener.
Public methodStatic memberCode exampleBASS_GetConfig
Retrieves the value of a config option.
Public methodStatic memberCode exampleBASS_GetConfigBool
Retrieves the value of a config option as a bool.
Public methodStatic memberCode exampleBASS_GetConfigPtr
Retrieves the value of a pointer config option.
Public methodStatic memberCode exampleBASS_GetConfigString
Retrieves the value of a pointer config option as an Ansi string.
Public methodStatic memberBASS_GetCPU
Retrieves the current CPU usage of BASS.
Public methodStatic memberBASS_GetDevice
Retrieves the device setting in the current thread.
Public methodStatic memberBASS_GetDeviceCount
Returns the total number of available output devices.
Public methodStatic memberCode exampleBASS_GetDeviceInfo(Int32)
Retrieves information on an output device.
Public methodStatic memberCode exampleBASS_GetDeviceInfo(Int32, BASS_DEVICEINFO)
Retrieves information on an output device.
Public methodStatic memberBASS_GetDeviceInfos
Returns all available output devices.
Public methodStatic memberBASS_GetDSoundObject(Int32)
Retrieves a pointer to a DirectSound object interface.

Not recommended to be used by managed applications!

Public methodStatic memberBASS_GetDSoundObject(BASSDirectSound)
Retrieves a pointer to a DirectSound object interface.

Not recommended to be used by managed applications!

Public methodStatic memberCode exampleBASS_GetInfo
Retrieves information on the device being used.
Public methodStatic memberCode exampleBASS_GetInfo(BASS_INFO)
Retrieves information on the device being used.
Public methodStatic memberCode exampleBASS_GetVersion
Retrieves the version number of the BASS.DLL that is loaded.
Public methodStatic memberCode exampleBASS_GetVersion(Int32)
Retrieves the version of the BASS.DLL that is loaded.
Public methodStatic memberBASS_GetVolume
Retrieves the current master volume level.
Public methodStatic memberCode exampleBASS_Init
Initializes an output device.
Public methodStatic memberBASS_IsStarted
Checks if the output has been started and is active.
Public methodStatic memberBASS_MusicFree
Frees a MOD music's resources, including any sync/DSP/FX it has.
Public methodStatic memberCode exampleBASS_MusicLoad(Byte, Int64, Int32, BASSFlag, Int32)
Loads a MOD music file - MO3 / IT / XM / S3M / MTM / MOD / UMX formats.

This overload implements loading from memory.

Public methodStatic memberCode exampleBASS_MusicLoad(IntPtr, Int64, Int32, BASSFlag, Int32)
Loads a MOD music file - MO3 / IT / XM / S3M / MTM / MOD / UMX formats.

This overload implements loading from memory.

Public methodStatic memberCode exampleBASS_MusicLoad(String, Int64, Int32, BASSFlag, Int32)
Loads a MOD music file - MO3 / IT / XM / S3M / MTM / MOD / UMX formats.

This overload implements Unicode filenames. The BASS_UNICODE flag will be added automatically.

Public methodStatic memberBASS_Pause
Stops the output, pausing all musics/samples/streams.
Public methodStatic memberBASS_PluginEnable
Enables or disables an add-on.
Public methodStatic memberCode exampleBASS_PluginFree
Unplugs an add-on.
Public methodStatic memberCode exampleBASS_PluginGetInfo
Retrieves information on a plugin.
Public methodStatic memberCode exampleBASS_PluginLoad
Plugs on "add-on" into the standard stream and sample creation functions.

This overload implements the Unicode version for the file name.

Public methodStatic memberCode exampleBASS_PluginLoadDirectory(String)
Tries to loads all BASS add-ons (bass*.dll) contained in the specified directory.
Public methodStatic memberCode exampleBASS_PluginLoadDirectory(String, ListString)
Tries to loads all BASS add-ons (bass*.dll) contained in the specified directory.
Public methodStatic memberBASS_RecordFree
Frees all resources used by the recording device.
Public methodStatic memberBASS_RecordGetDevice
Retrieves the recording device setting in the current thread.
Public methodStatic memberBASS_RecordGetDeviceCount
Returns the total number of available recording devices.
Public methodStatic memberCode exampleBASS_RecordGetDeviceInfo(Int32)
Retrieves information on a recording device.
Public methodStatic memberCode exampleBASS_RecordGetDeviceInfo(Int32, BASS_DEVICEINFO)
Retrieves information on a recording device.
Public methodStatic memberBASS_RecordGetDeviceInfos
Returns all available recording devices.
Public methodStatic memberCode exampleBASS_RecordGetInfo
Retrieves information on the recording device being used.
Public methodStatic memberCode exampleBASS_RecordGetInfo(BASS_RECORDINFO)
Retrieves information on the recording device being used.
Public methodStatic memberBASS_RecordGetInput(Int32)
Retrieves the setting of a recording input source.
Public methodStatic memberCode exampleBASS_RecordGetInput(Int32, Single)
Retrieves the settings of a recording input source.
Public methodStatic memberCode exampleBASS_RecordGetInputName
Retrieves the text description of a recording input source.
Public methodStatic memberBASS_RecordGetInputNames
Returns all available recording input source names.
Public methodStatic memberCode exampleBASS_RecordGetInputType
Retrieves the type of input of a recording input source.
Public methodStatic memberCode exampleBASS_RecordInit
Initializes a recording device.
Public methodStatic memberBASS_RecordSetDevice
Sets the recording device to use for subsequent calls in the current thread.
Public methodStatic memberCode exampleBASS_RecordSetInput
Adjusts the settings of a recording input source.
Public methodStatic memberCode exampleBASS_RecordStart(Int32, Int32, BASSFlag, RECORDPROC, IntPtr)
Starts recording.
Public methodStatic memberCode exampleBASS_RecordStart(Int32, Int32, BASSFlag, Int32, RECORDPROC, IntPtr)
Starts recording.
Public methodStatic memberCode exampleBASS_SampleCreate
Initiates the creation of a user generated sample.
Public methodStatic memberCode exampleBASS_SampleFree
Frees a sample's resources.
Public methodStatic memberCode exampleBASS_SampleGetChannel
Creates/initializes a playback channel for a sample.
Public methodStatic memberBASS_SampleGetChannelCount
Retrieves the number of existing sample's channels.
Public methodStatic memberCode exampleBASS_SampleGetChannels(Int32)
Retrieves all a sample's existing channels.
Public methodStatic memberCode exampleBASS_SampleGetChannels(Int32, Int32)
Retrieves all a sample's existing channels.
Public methodStatic memberCode exampleBASS_SampleGetData(Int32, Byte)
Retrieves a copy of a sample's data.

This overload uses a managed byte[] to reference the buffer data as 8-bit! SHOULD ONLY BE USED, if the sample was created with or BASS_SAMPLE_8BITS!

Public methodStatic memberCode exampleBASS_SampleGetData(Int32, Int16)
Retrieves a copy of a sample's data.

This overload uses a managed short[] to reference the buffer data as 16-bit! SHOULD ONLY BE USED, if the sample was created WITHOUT BASS_SAMPLE_FLOAT or BASS_SAMPLE_8BITS!

Public methodStatic memberBASS_SampleGetData(Int32, Int32)
Retrieves a copy of a sample's data.

This overload uses a managed int[] to reference the buffer data (Note: if we expect to receive 16-bit data, a single Int32 value will contain 2 x 16-bit, left and right channel)! SHOULD ONLY BE USED, if the sample was created WITHOUT BASS_SAMPLE_FLOAT or BASS_SAMPLE_8BITS!

Public methodStatic memberBASS_SampleGetData(Int32, IntPtr)
Retrieves a copy of a sample's data.
Public methodStatic memberCode exampleBASS_SampleGetData(Int32, Single)
Retrieves a copy of a sample's data.

This overload uses a managed float[] to reference the buffer data as 32-bit! SHOULD ONLY BE USED, if the sample was created with BASS_SAMPLE_FLOAT!

Public methodStatic memberCode exampleBASS_SampleGetInfo(Int32)
Retrieves a sample's default attributes and other information.
Public methodStatic memberCode exampleBASS_SampleGetInfo(Int32, BASS_SAMPLE)
Retrieves a sample's default attributes and other information.
Public methodStatic memberCode exampleBASS_SampleLoad(Byte, Int64, Int32, Int32, BASSFlag)
Loads a WAV, AIFF, MP3, MP2, MP1, OGG or plugin supported sample.

This overload uses an unmanaged IntPtr and implements loading a sample from memory.

Public methodStatic memberCode exampleBASS_SampleLoad(IntPtr, Int64, Int32, Int32, BASSFlag)
Loads a WAV, AIFF, MP3, MP2, MP1, OGG or plugin supported sample.

This overload uses an unmanaged IntPtr and implements loading a sample from memory.

Public methodStatic memberCode exampleBASS_SampleLoad(String, Int64, Int32, Int32, BASSFlag)
Loads a WAV, AIFF, MP3, MP2, MP1, OGG or plugin supported sample.

This overload uses Unicode file names! A BASS_UNICODE flag will automatically be added.

Public methodStatic memberCode exampleBASS_SampleSetData(Int32, Byte)
Sets a sample's data.
Public methodStatic memberCode exampleBASS_SampleSetData(Int32, Int16)
Sets a sample's data.
Public methodStatic memberCode exampleBASS_SampleSetData(Int32, Int32)
Sets a sample's data.
Public methodStatic memberCode exampleBASS_SampleSetData(Int32, IntPtr)
Sets a sample's data.
Public methodStatic memberCode exampleBASS_SampleSetData(Int32, Single)
Sets a sample's data.
Public methodStatic memberCode exampleBASS_SampleSetInfo
Sets a sample's default attributes.
Public methodStatic memberBASS_SampleStop
Stops all instances of a sample.
Public methodStatic memberCode exampleBASS_Set3DFactors
Sets the factors that affect the calculations of 3D sound.
Public methodStatic memberCode exampleBASS_Set3DPosition
Retrieves the position, velocity, and orientation of the listener.
Public methodStatic memberCode exampleBASS_SetConfig(BASSConfig, Boolean)
Sets the value of a config option.
Public methodStatic memberCode exampleBASS_SetConfig(BASSConfig, Int32)
Sets the value of a config option.
Public methodStatic memberCode exampleBASS_SetConfigPtr
Sets the value of a pointer config option.
Public methodStatic memberCode exampleBASS_SetConfigString
Sets the value of a string config option.
Public methodStatic memberCode exampleBASS_SetDevice
Sets the device to use for subsequent calls in the current thread.
Public methodStatic memberBASS_SetVolume
Sets the output master volume.
Public methodStatic memberBASS_Start
Starts (or resumes) the output.
Public methodStatic memberBASS_Stop
Stops the output, stopping all musics/samples/streams.
Public methodStatic memberBASS_StreamCreate(Int32, Int32, BASSFlag, BASSStreamProc)
Creates a "dummy" stream.
Public methodStatic memberCode exampleBASS_StreamCreate(Int32, Int32, BASSFlag, STREAMPROC, IntPtr)
Creates a user sample stream.
Public methodStatic memberBASS_StreamCreateDevice
Create a "dummy" stream for the device's final output mix (using the STREAMPROC_DEVICE option).
Public methodStatic memberBASS_StreamCreateDevice3D
Create a "dummy" stream for the device's final output mix (using the STREAMPROC_DEVICE_3D option).
Public methodStatic memberBASS_StreamCreateDummy
Creates a "dummy" stream (using the STREAMPROC_DUMMY option).
Public methodStatic memberCode exampleBASS_StreamCreateFile(IntPtr, Int64, Int64, BASSFlag)
Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plugin supported memory IntPtr.

This overload implements streaming from memory.

Public methodStatic memberCode exampleBASS_StreamCreateFile(String, Int64, Int64, BASSFlag)
Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plugin supported file.

This overload implements Unicode filenames. The BASS_UNICODE flag will be added automatically, since all .Net strings are always unicode.

Public methodStatic memberCode exampleBASS_StreamCreateFileUser
Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plugin supported file via user callback functions.
Public methodStatic memberCode exampleBASS_StreamCreatePush
Creates a "push" stream (using the STREAMPROC_PUSH option).
Public methodStatic memberCode exampleBASS_StreamCreateURL
Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plugin supported file on the internet, optionally receiving the downloaded data in a callback.
Public methodStatic memberBASS_StreamFree
Frees a sample stream's resources, including any SYNC/DSP/FX it has.
Public methodStatic memberCode exampleBASS_StreamGetFilePosition
Retrieves the decoding/download/end position of a file stream.
Public methodStatic memberCode exampleBASS_StreamPutData(Int32, Byte, Int32)
Adds sample data to a "push" stream.
Public methodStatic memberCode exampleBASS_StreamPutData(Int32, Int16, Int32)
Adds sample data to a "push" stream.
Public methodStatic memberCode exampleBASS_StreamPutData(Int32, Int32, Int32)
Adds sample data to a "push" stream.
Public methodStatic memberCode exampleBASS_StreamPutData(Int32, IntPtr, Int32)
Adds sample data to a "push" stream.
Public methodStatic memberCode exampleBASS_StreamPutData(Int32, Single, Int32)
Adds sample data to a "push" stream.
Public methodStatic memberBASS_StreamPutData(Int32, Byte, Int32, Int32)
Adds sample data to a "push" stream.
Public methodStatic memberBASS_StreamPutFileData(Int32, Byte, Int32)
Adds data to a "push buffered" user file stream's buffer.
Public methodStatic memberBASS_StreamPutFileData(Int32, Int16, Int32)
Adds data to a "push buffered" user file stream's buffer.
Public methodStatic memberBASS_StreamPutFileData(Int32, Int32, Int32)
Adds data to a "push buffered" user file stream's buffer.
Public methodStatic memberBASS_StreamPutFileData(Int32, IntPtr, Int32)
Adds data to a "push buffered" user file stream's buffer.
Public methodStatic memberBASS_StreamPutFileData(Int32, Single, Int32)
Adds data to a "push buffered" user file stream's buffer.
Public methodStatic memberBASS_Update
"Manually" updates the HSTREAM and HMUSIC channel buffers.
Public methodStatic memberFreeMe
Unloads this library. This must be called when you have previously called LoadMe.
Public methodStatic memberCode exampleLoadMe
Loads this library into memory. The library will be search in the current application directory.
Public methodStatic memberCode exampleLoadMe(String)
Loads this library into memory. The library will be loaded from the given path.
Top
See Also

Reference