BASS.NET API for the Un4seen BASS Audio LibraryBass MembersBASS.NET API for the Un4seen BASS Audio Library

The Bass type exposes the following members.
Constructors

  NameDescription
Public methodBass
Back to Top
Methods

  NameDescription
Public methodStatic memberBASS_Apply3D
Applies changes made to the 3D system.
Public methodStatic memberBASS_ChannelBytes2Seconds
Translates a byte position into time (seconds), based on a channel's format.
Public methodStatic memberBASS_ChannelFlags
Modifies and retrieves a channel's flags.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_ChannelGet3DPosition
Retrieves the 3D position of a sample, stream, or MOD music channel with 3D functionality.
Public methodStatic memberBASS_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 memberBASS_ChannelGetAttribute(Int32, BASSAttribute, IntPtr, Int32)
Retrieves the value of a channel's attribute.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_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 memberBASS_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 memberBASS_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 memberBASS_ChannelGetDevice
Retrieves the device that the channel is using.
Public methodStatic memberBASS_ChannelGetInfo(Int32)
Retrieves information on a channel.
Public methodStatic memberBASS_ChannelGetInfo(Int32, BASS_CHANNELINFO)
Retrieves information on a channel.
Public methodStatic memberBASS_ChannelGetLength(Int32)
Retrieves the playback length in bytes of a channel.
Public methodStatic memberBASS_ChannelGetLength(Int32, BASSMode)
Retrieves the playback length of a channel.
Public methodStatic memberBASS_ChannelGetLevel(Int32)
Retrieves the level (peak amplitude) of a sample, stream, MOD music or recording channel.
Public methodStatic memberBASS_ChannelGetLevel(Int32, Single, BASSLevel)
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_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 memberBASS_ChannelGetMusicSample
Retrieves a specific MOD sample name from a channel, if it is available.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_ChannelGetTags
Retrieves the requested tags/headers from a channel, if they are available.
Public methodStatic memberBASS_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 memberBASS_ChannelGetTagsAPEBinary
Retrieves all APE binary tags from a channel, if they are available.
Public methodStatic memberBASS_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 memberBASS_ChannelGetTagsFLACCuesheet
Retrieves a FLAC cuesheet tags from a channel, if available.
Public methodStatic memberBASS_ChannelGetTagsFLACPictures
Retrieves all FLAC picture tags from a channel, if they are available.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_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 memberBASS_ChannelGetTagsID3V2
Retrieves the ID3v2 header tags from a channel, if they are available.
Public methodStatic memberBASS_ChannelGetTagsMETA
Retrieves metadata tags from a channel (Shoutcast or Icecast), if they are available.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_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 memberBASS_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_ChannelGetTagsWAVEFORMAT
Retrieves the WAVE "fmt" chunk contents (WAVEFORMATEXT structure).

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

Public methodStatic memberBASS_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 memberBASS_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 memberBASS_ChannelIsSliding
Checks if an attribute (or any attribute) of a sample, stream, or MOD music is sliding.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_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 memberBASS_ChannelSetAttribute(Int32, BASSAttribute, Single)
Sets the value of an attribute of a sample, stream or MOD music.
Public methodStatic memberBASS_ChannelSetAttribute(Int32, BASSAttribute, IntPtr, Int32)
Sets the value of a channel's attribute.
Public methodStatic memberBASS_ChannelSetDevice
Changes the device that a stream, MOD music or sample is using.
Public methodStatic memberBASS_ChannelSetDSP
Sets up a user DSP function on a stream, MOD music, or recording channel.
Public methodStatic memberBASS_ChannelSetFX
Sets an effect on a stream, MOD music, or recording channel.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_ChannelSetPosition(Int32, Int64, BASSMode)
Sets the playback position of a sample, MOD music, or stream.
Public methodStatic memberBASS_ChannelSetSync
Sets up a synchronizer on a MOD music, stream or recording channel.
Public methodStatic memberBASS_ChannelSlideAttribute
Slides a channel's attribute from its current value to a new value.
Public methodStatic memberBASS_ChannelStop
Stops a sample, stream, MOD music, or recording.
Public methodStatic memberBASS_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 memberBASS_Free
Frees all resources used by the output device, including all it's samples, streams, and MOD musics.
Public methodStatic memberBASS_FXGetParameters
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
Sets the parameters of an effect.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_Get3DPosition
Retrieves the position, velocity, and orientation of the listener.
Public methodStatic memberBASS_GetConfig
Retrieves the value of a config option.
Public methodStatic memberBASS_GetConfigBool
Retrieves the value of a config option as a bool.
Public methodStatic memberBASS_GetConfigPtr
Retrieves the value of a pointer config option.
Public methodStatic memberBASS_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 memberBASS_GetDeviceInfo(Int32)
Retrieves information on an output device.
Public methodStatic memberBASS_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 memberBASS_GetEAXParameters(Object, Object, Object, Object)
Retrieves the current type of EAX environment and it's parameters. Note: This is a generic overload using object references, so that you can pass   values as in the C++ interface. So make sure to pass object references of the currect type into this method and cast the return value back to the correct data types!
Public methodStatic memberBASS_GetEAXParameters(EAXEnvironment , Single , Single , Single )
Retrieves the current type of EAX environment and it's parameters.
Public methodStatic memberBASS_GetInfo 
Retrieves information on the device being used.
Public methodStatic memberBASS_GetInfo(BASS_INFO)
Retrieves information on the device being used.
Public methodStatic memberBASS_GetVersion 
Retrieves the version number of the BASS.DLL that is loaded.
Public methodStatic memberBASS_GetVersion(Int32)
Retrieves the version of the BASS.DLL that is loaded.
Public methodStatic memberBASS_GetVolume
Retrieves the current master volume level.
Public methodStatic memberBASS_Init(Int32, Int32, BASSInit, IntPtr)
Initializes an output device.
Public methodStatic memberBASS_Init(Int32, Int32, BASSInit, IntPtr, Guid)
Initializes an output device.
Public methodStatic memberBASS_MusicFree
Frees a MOD music's resources, including any sync/DSP/FX it has.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_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_PluginFree
Unplugs an add-on.
Public methodStatic memberBASS_PluginGetInfo
Retrieves information on a plugin.
Public methodStatic memberBASS_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 memberBASS_PluginLoadDirectory(String)
Tries to loads all BASS add-ons (bass*.dll) contained in the specified directory.
Public methodStatic memberBASS_PluginLoadDirectory(String, List String )
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 memberBASS_RecordGetDeviceInfo(Int32)
Retrieves information on a recording device.
Public methodStatic memberBASS_RecordGetDeviceInfo(Int32, BASS_DEVICEINFO)
Retrieves information on a recording device.
Public methodStatic memberBASS_RecordGetDeviceInfos
Returns all available recording devices.
Public methodStatic memberBASS_RecordGetInfo 
Retrieves information on the recording device being used.
Public methodStatic memberBASS_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 memberBASS_RecordGetInput(Int32, Single )
Retrieves the settings of a recording input source.
Public methodStatic memberBASS_RecordGetInputName
Retrieves the text description of a recording input source.
Public methodStatic memberBASS_RecordGetInputNames
Returns all available recording input source names.
Public methodStatic memberBASS_RecordGetInputType
Retrieves the type of input of a recording input source.
Public methodStatic memberBASS_RecordInit
Initializes a recording device.
Public methodStatic memberBASS_RecordSetDevice
Sets the recording device to use for subsequent calls in the current thread.
Public methodStatic memberBASS_RecordSetInput
Adjusts the settings of a recording input source.
Public methodStatic memberBASS_RecordStart(Int32, Int32, BASSFlag, RECORDPROC, IntPtr)
Starts recording.
Public methodStatic memberBASS_RecordStart(Int32, Int32, BASSFlag, Int32, RECORDPROC, IntPtr)
Starts recording.
Public methodStatic memberBASS_SampleCreate
Initiates the creation of a user generated sample.
Public methodStatic memberBASS_SampleFree
Frees a sample's resources.
Public methodStatic memberBASS_SampleGetChannel
Creates/initializes a playback channel for a sample.
Public methodStatic memberBASS_SampleGetChannelCount
Retrieves the number of existing sample's channels.
Public methodStatic memberBASS_SampleGetChannels(Int32)
Retrieves all a sample's existing channels.
Public methodStatic memberBASS_SampleGetChannels(Int32,  Int32 )
Retrieves all a sample's existing channels.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_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 memberBASS_SampleGetInfo(Int32)
Retrieves a sample's default attributes and other information.
Public methodStatic memberBASS_SampleGetInfo(Int32, BASS_SAMPLE)
Retrieves a sample's default attributes and other information.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_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 memberBASS_SampleSetData(Int32,  Byte )
Sets a sample's data.
Public methodStatic memberBASS_SampleSetData(Int32,  Int16 )
Sets a sample's data.
Public methodStatic memberBASS_SampleSetData(Int32,  Int32 )
Sets a sample's data.
Public methodStatic memberBASS_SampleSetData(Int32, IntPtr)
Sets a sample's data.
Public methodStatic memberBASS_SampleSetData(Int32,  Single )
Sets a sample's data.
Public methodStatic memberBASS_SampleSetInfo
Sets a sample's default attributes.
Public methodStatic memberBASS_SampleStop
Stops all instances of a sample.
Public methodStatic memberBASS_Set3DFactors
Sets the factors that affect the calculations of 3D sound.
Public methodStatic memberBASS_Set3DPosition
Retrieves the position, velocity, and orientation of the listener.
Public methodStatic memberBASS_SetConfig(BASSConfig, Boolean)
Sets the value of a config option.
Public methodStatic memberBASS_SetConfig(BASSConfig, Int32)
Sets the value of a config option.
Public methodStatic memberBASS_SetConfigPtr
Sets the value of a pointer config option.
Public methodStatic memberBASS_SetDevice
Sets the device to use for subsequent calls in the current thread.
Public methodStatic memberBASS_SetEAXParameters(EAXPreset)
Overload implementing the use of EAXPreset. A preset already sets prediefined values for "vol", "decay" and "damp".
Public methodStatic memberBASS_SetEAXParameters(EAXEnvironment, Single, Single, Single)
Sets the type of EAX environment and it's parameters.
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 memberBASS_StreamCreate(Int32, Int32, BASSFlag, STREAMPROC, IntPtr)
Creates a user sample stream.
Public methodStatic memberBASS_StreamCreateDummy
Creates a "dummy" stream.
Public methodStatic memberBASS_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 memberBASS_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 memberBASS_StreamCreateFileUser
Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plugin supported file via user callback functions.
Public methodStatic memberBASS_StreamCreatePush
Creates a "push" stream.
Public methodStatic memberBASS_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 memberBASS_StreamGetFilePosition
Retrieves the decoding/download/end position of a file stream.
Public methodStatic memberBASS_StreamPutData(Int32,  Byte , Int32)
Adds sample data to a "push" stream.
Public methodStatic memberBASS_StreamPutData(Int32,  Int16 , Int32)
Adds sample data to a "push" stream.
Public methodStatic memberBASS_StreamPutData(Int32,  Int32 , Int32)
Adds sample data to a "push" stream.
Public methodStatic memberBASS_StreamPutData(Int32, IntPtr, Int32)
Adds sample data to a "push" stream.
Public methodStatic memberBASS_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 memberLoadMe 
Loads this library into memory. The library will be search in the current application directory.
Public methodStatic memberLoadMe(String)
Loads this library into memory. The library will be loaded from the given path.
Back to Top
Fields

  NameDescription
Public fieldStatic memberBASSVERSION
Current BASS version (without minor revision).
Public fieldStatic memberERROR
The BASS way to say ERROR = -1.
Public fieldStatic memberFALSE
The BASS way to say   = 0.
Public fieldStatic memberSupportedMusicExtensions
Supported music file extensions of the bass.dll.
Public fieldStatic memberSupportedStreamExtensions
Supported stream file extensions of the bass.dll.
Public fieldStatic memberSupportedStreamName
Supported file format name of the bass.dll.
Public fieldStatic memberTRUE
The BASS way to say   = 1.
Back to Top
Properties

  NameDescription
Public propertyStatic memberUsesCoreAudio
Gets, if BASS leverages additional Apple Core Audio Format audio codecs as installed with the OS (MacOSX only).
Public propertyStatic memberUsesMediaFoundation
Gets, if BASS leverages additional Windows Media Foundation audio codecs as installed with the OS.
Back to Top
See Also