Requires: bass.dll - Bass Audio Library - available @ www.un4seen.com.
Un4seen.BassBass
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
The Bass type exposes the following members.
Name | Description | |
---|---|---|
![]() | Bass |
Name | Description | |
---|---|---|
![]() ![]() | UsesCoreAudio |
Gets, if BASS leverages additional Apple Core Audio Format audio codecs as installed with the OS (MacOSX only).
|
![]() ![]() | UsesMediaFoundation |
Gets, if BASS leverages additional Windows Media Foundation audio codecs as installed with the OS.
|
Name | Description | |
---|---|---|
![]() ![]() | BASS_Apply3D |
Applies changes made to the 3D system.
|
![]() ![]() ![]() | BASS_ChannelBytes2Seconds |
Translates a byte position into time (seconds), based on a channel's format.
|
![]() ![]() ![]() | BASS_ChannelFlags |
Modifies and retrieves a channel's flags.
|
![]() ![]() | BASS_ChannelFree |
Frees a sample stream's resources, including any sync/DSP/FX it has.
|
![]() ![]() ![]() | BASS_ChannelGet3DAttributes(Int32, Object, Object, Object, Object, Object, Object) |
Retrieves the 3D attributes of a sample, stream, or MOD music channel with 3D functionality.
|
![]() ![]() ![]() | BASS_ChannelGet3DAttributes(Int32, BASS3DMode, Single, Single, Int32, Int32, Int32) |
Retrieves the 3D attributes of a sample, stream, or MOD music channel with 3D functionality.
|
![]() ![]() ![]() | BASS_ChannelGet3DPosition |
Retrieves the 3D position of a sample, stream, or MOD music channel with 3D functionality.
|
![]() ![]() ![]() | BASS_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.
|
![]() ![]() ![]() | BASS_ChannelGetAttribute(Int32, BASSAttribute, IntPtr, Int32) |
Retrieves the value of a channel's attribute.
|
![]() ![]() ![]() | BASS_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!
|
![]() ![]() ![]() | BASS_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!
|
![]() ![]() ![]() | BASS_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!
|
![]() ![]() ![]() | BASS_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.
|
![]() ![]() ![]() | BASS_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!
|
![]() ![]() ![]() | BASS_ChannelGetDevice |
Retrieves the device that the channel is using.
|
![]() ![]() ![]() | BASS_ChannelGetInfo(Int32) |
Retrieves information on a channel.
|
![]() ![]() ![]() | BASS_ChannelGetInfo(Int32, BASS_CHANNELINFO) |
Retrieves information on a channel.
|
![]() ![]() ![]() | BASS_ChannelGetLength(Int32) |
Retrieves the playback length in bytes of a channel.
|
![]() ![]() ![]() | BASS_ChannelGetLength(Int32, BASSMode) |
Retrieves the playback length of a channel.
|
![]() ![]() ![]() | BASS_ChannelGetLevel(Int32) |
Retrieves the level (peak amplitude) of a sample, stream, MOD music or recording channel.
|
![]() ![]() | BASS_ChannelGetLevel(Int32, Single, Single, BASSLevel) |
Retrieves the level (peak amplitude) of a sample, stream, MOD music or recording channel.
|
![]() ![]() | BASS_ChannelGetLevels |
Retrieves the level (peak amplitude) of a sample, stream, MOD music or recording channel.
|
![]() ![]() | BASS_ChannelGetMidiTrackText |
Retrieves a specific MIDI track text from a channel, if it is available.
|
![]() ![]() | BASS_ChannelGetMusicInstrument |
Retrieves a specific MOD instrument name from a channel, if it is available.
|
![]() ![]() | BASS_ChannelGetMusicMessage |
Retrieves the MOD message text from a channel, if it is available.
|
![]() ![]() | BASS_ChannelGetMusicName |
Retrieves the MOD music title from a channel, if it is available.
|
![]() ![]() ![]() | BASS_ChannelGetMusicSample |
Retrieves a specific MOD sample name from a channel, if it is available.
|
![]() ![]() ![]() | BASS_ChannelGetPosition(Int32) |
Retrieves the playback position in bytes of a sample, stream, or MOD music. Can also be used with a recording channel.
|
![]() ![]() ![]() | BASS_ChannelGetPosition(Int32, BASSMode) |
Retrieves the playback position of a sample, stream, or MOD music. Can also be used with a recording channel.
|
![]() ![]() | BASS_ChannelGetTagLyrics3v2 |
Retrieves a Lyrics3v2 tag.
|
![]() ![]() ![]() | BASS_ChannelGetTags |
Retrieves the requested tags/headers from a channel, if they are available.
|
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_ChannelGetTagsAPEBinary |
Retrieves all APE binary tags from a channel, if they are available.
|
![]() ![]() ![]() | BASS_ChannelGetTagsAPEPictures |
Retrieves all APEv2 picture tags from a channel, if they are available.
|
![]() ![]() | BASS_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. |
![]() ![]() | BASS_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! |
![]() ![]() | BASS_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. |
![]() ![]() | BASS_ChannelGetTagsCA |
Retrieves the CoreAudio codec information structure from a channel, if they are available.
|
![]() ![]() | BASS_ChannelGetTagsDSDArtist |
Gets a DSDIFF Artist tags.
|
![]() ![]() | BASS_ChannelGetTagsDSDComments |
Gets all available DSDIFF comment tags.
|
![]() ![]() | BASS_ChannelGetTagsDSDTitle |
Gets a DSDIFF Title tags.
|
![]() ![]() ![]() | BASS_ChannelGetTagsFLACCuesheet |
Retrieves a FLAC cuesheet tags from a channel, if available.
|
![]() ![]() ![]() | BASS_ChannelGetTagsFLACPictures |
Retrieves all FLAC picture tags from a channel, if they are available.
|
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_ChannelGetTagsID3V1 |
Retrieves the ID3v1 tags from a channel, if they are available.
This special helper method already evaluates the 128-byte ID3v3 data block. |
![]() ![]() ![]() | BASS_ChannelGetTagsID3V2 |
Retrieves the ID3v2 header tags from a channel, if they are available.
|
![]() ![]() | BASS_ChannelGetTagsID3V2_2 |
Retrieves the 2nd ID3v2 header tags from a channel, if they are available.
|
![]() ![]() ![]() | BASS_ChannelGetTagsMETA |
Retrieves metadata tags from a channel (Shoutcast or Icecast), if they are available.
|
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() | BASS_ChannelGetTagsRIFFCUE |
Gets an available RIFF "cue " tags.
|
![]() ![]() | BASS_ChannelGetTagsWAVEFORMAT |
Retrieves the WAVE "fmt" chunk contents (WAVEFORMATEXT structure).
As well as WAVE files, this is also provided by Media Foundation codecs. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_ChannelIsActive |
Checks if a sample, stream, or MOD music is active (playing) or stalled. Can also check if a recording is in progress.
|
![]() ![]() ![]() | BASS_ChannelIsSliding |
Checks if an attribute (or any attribute) of a sample, stream, or MOD music is sliding.
|
![]() ![]() ![]() | BASS_ChannelLock |
Locks a stream, MOD music or recording channel to the current thread.
|
![]() ![]() | BASS_ChannelPause |
Pauses a sample, stream, MOD music, or recording.
|
![]() ![]() ![]() | BASS_ChannelPlay |
Starts (or resumes) playback of a sample, stream, MOD music, or recording.
|
![]() ![]() | BASS_ChannelRemoveDSP |
Removes a DSP function from a stream, MOD music, or recording channel.
|
![]() ![]() | BASS_ChannelRemoveFX |
Removes an effect on a stream, MOD music, or recording channel.
|
![]() ![]() | BASS_ChannelRemoveLink |
Removes a links between two MOD music or stream channels.
|
![]() ![]() | BASS_ChannelRemoveSync |
Removes a synchronizer from a MOD music or stream channel.
|
![]() ![]() ![]() | BASS_ChannelSeconds2Bytes |
Translates a time (seconds) position into bytes, based on a channel's format.
|
![]() ![]() | BASS_ChannelSet3DAttributes |
Sets the 3D attributes of a sample, stream, or MOD music channel with 3D functionality.
|
![]() ![]() | BASS_ChannelSet3DPosition |
Sets the 3D position of a sample, stream, or MOD music channel with 3D functionality.
|
![]() ![]() ![]() | BASS_ChannelSetAttribute(Int32, BASSAttribute, Single) |
Sets the value of an attribute of a sample, stream or MOD music.
|
![]() ![]() ![]() | BASS_ChannelSetAttribute(Int32, BASSAttribute, IntPtr, Int32) |
Sets the value of a channel's attribute.
|
![]() ![]() ![]() | BASS_ChannelSetDevice |
Changes the device that a stream, MOD music or sample is using.
|
![]() ![]() ![]() | BASS_ChannelSetDSP |
Sets up a user DSP function on a stream, MOD music, or recording channel.
|
![]() ![]() ![]() | BASS_ChannelSetFX |
Sets an effect on a stream, MOD music, or recording channel.
|
![]() ![]() ![]() | BASS_ChannelSetLink |
Links two MOD music or stream channels together.
|
![]() ![]() | BASS_ChannelSetPosition(Int32, Double) |
Sets the playback position of a sample or stream to the given seconds value.
|
![]() ![]() ![]() | BASS_ChannelSetPosition(Int32, Int64) |
Sets the playback position in bytes of a sample, MOD music, or stream.
|
![]() ![]() | BASS_ChannelSetPosition(Int32, Int32, Int32) |
Sets the playback position in order.row of a MOD music.
|
![]() ![]() ![]() | BASS_ChannelSetPosition(Int32, Int64, BASSMode) |
Sets the playback position of a sample, MOD music, or stream.
|
![]() ![]() ![]() | BASS_ChannelSetSync |
Sets up a synchronizer on a MOD music, stream or recording channel.
|
![]() ![]() ![]() | BASS_ChannelSlideAttribute |
Slides a channel's attribute from its current value to a new value.
|
![]() ![]() ![]() | BASS_ChannelStart |
Starts/resumes playback of a sample, stream, MOD music, or a recording.
|
![]() ![]() | BASS_ChannelStop |
Stops a sample, stream, MOD music, or recording.
|
![]() ![]() ![]() | BASS_ChannelUpdate |
Updates the playback buffer of a stream or MOD music.
|
![]() ![]() | BASS_ErrorGetCode |
Retrieves the error code for the most recent BASS function call in the current thread.
|
![]() ![]() ![]() | BASS_Free |
Frees all resources used by the output device, including all it's samples, streams, and MOD musics.
|
![]() ![]() | BASS_FXGetParameters(Int32, IntPtr) |
Retrieves the parameters of an effect.
|
![]() ![]() ![]() | BASS_FXGetParameters(Int32, Object) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_AUTOWAH) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_BQF) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_CHORUS) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_COMPRESSOR2) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_DAMP) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_DISTORTION) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_ECHO4) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_PEAKEQ) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_PHASER) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_ROTATE) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_BFX_VOLUME) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_DX8_CHORUS) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_DX8_COMPRESSOR) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_DX8_DISTORTION) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_DX8_ECHO) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_DX8_FLANGER) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_DX8_GARGLE) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_DX8_I3DL2REVERB) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_DX8_PARAMEQ) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_DX8_REVERB) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXGetParameters(Int32, BASS_FX_VOLUME_PARAM) |
Retrieves the parameters of an effect.
|
![]() ![]() | BASS_FXReset |
Resets the state of an effect or all effects on a channel.
|
![]() ![]() | BASS_FXSetParameters(Int32, IntPtr) |
Sets the parameters of an effect.
|
![]() ![]() ![]() | BASS_FXSetParameters(Int32, Object) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_AUTOWAH) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_BQF) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_CHORUS) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_COMPRESSOR2) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_DAMP) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_DISTORTION) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_ECHO4) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_PEAKEQ) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_PHASER) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_ROTATE) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_BFX_VOLUME) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_DX8_CHORUS) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_DX8_COMPRESSOR) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_DX8_DISTORTION) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_DX8_ECHO) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_DX8_FLANGER) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_DX8_GARGLE) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_DX8_I3DL2REVERB) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_DX8_PARAMEQ) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_DX8_REVERB) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetParameters(Int32, BASS_FX_VOLUME_PARAM) |
Sets the parameters of an effect.
|
![]() ![]() | BASS_FXSetPriority |
Changes the priority of an DSP/FX effect.
|
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_Get3DPosition |
Retrieves the position, velocity, and orientation of the listener.
|
![]() ![]() ![]() | BASS_GetConfig |
Retrieves the value of a config option.
|
![]() ![]() ![]() | BASS_GetConfigBool |
Retrieves the value of a config option as a bool.
|
![]() ![]() ![]() | BASS_GetConfigPtr |
Retrieves the value of a pointer config option.
|
![]() ![]() ![]() | BASS_GetConfigString |
Retrieves the value of a pointer config option as an Ansi string.
|
![]() ![]() | BASS_GetCPU |
Retrieves the current CPU usage of BASS.
|
![]() ![]() | BASS_GetDevice |
Retrieves the device setting in the current thread.
|
![]() ![]() | BASS_GetDeviceCount |
Returns the total number of available output devices.
|
![]() ![]() ![]() | BASS_GetDeviceInfo(Int32) |
Retrieves information on an output device.
|
![]() ![]() ![]() | BASS_GetDeviceInfo(Int32, BASS_DEVICEINFO) |
Retrieves information on an output device.
|
![]() ![]() | BASS_GetDeviceInfos |
Returns all available output devices.
|
![]() ![]() | BASS_GetDSoundObject(Int32) |
Retrieves a pointer to a DirectSound object interface.
Not recommended to be used by managed applications! |
![]() ![]() | BASS_GetDSoundObject(BASSDirectSound) |
Retrieves a pointer to a DirectSound object interface.
Not recommended to be used by managed applications! |
![]() ![]() ![]() | BASS_GetInfo |
Retrieves information on the device being used.
|
![]() ![]() ![]() | BASS_GetInfo(BASS_INFO) |
Retrieves information on the device being used.
|
![]() ![]() ![]() | BASS_GetVersion |
Retrieves the version number of the BASS.DLL that is loaded.
|
![]() ![]() ![]() | BASS_GetVersion(Int32) |
Retrieves the version of the BASS.DLL that is loaded.
|
![]() ![]() | BASS_GetVolume |
Retrieves the current master volume level.
|
![]() ![]() ![]() | BASS_Init |
Initializes an output device.
|
![]() ![]() | BASS_IsStarted |
Checks if the output has been started and is active.
|
![]() ![]() | BASS_MusicFree |
Frees a MOD music's resources, including any sync/DSP/FX it has.
|
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() | BASS_Pause |
Stops the output, pausing all musics/samples/streams.
|
![]() ![]() | BASS_PluginEnable |
Enables or disables an add-on.
|
![]() ![]() ![]() | BASS_PluginFree |
Unplugs an add-on.
|
![]() ![]() ![]() | BASS_PluginGetInfo |
Retrieves information on a plugin.
|
![]() ![]() ![]() | BASS_PluginLoad |
Plugs on "add-on" into the standard stream and sample creation functions.
This overload implements the Unicode version for the file name. |
![]() ![]() ![]() | BASS_PluginLoadDirectory(String) |
Tries to loads all BASS add-ons (bass*.dll) contained in the specified directory.
|
![]() ![]() ![]() | BASS_PluginLoadDirectory(String, ListString) |
Tries to loads all BASS add-ons (bass*.dll) contained in the specified directory.
|
![]() ![]() | BASS_RecordFree |
Frees all resources used by the recording device.
|
![]() ![]() | BASS_RecordGetDevice |
Retrieves the recording device setting in the current thread.
|
![]() ![]() | BASS_RecordGetDeviceCount |
Returns the total number of available recording devices.
|
![]() ![]() ![]() | BASS_RecordGetDeviceInfo(Int32) |
Retrieves information on a recording device.
|
![]() ![]() ![]() | BASS_RecordGetDeviceInfo(Int32, BASS_DEVICEINFO) |
Retrieves information on a recording device.
|
![]() ![]() | BASS_RecordGetDeviceInfos |
Returns all available recording devices.
|
![]() ![]() ![]() | BASS_RecordGetInfo |
Retrieves information on the recording device being used.
|
![]() ![]() ![]() | BASS_RecordGetInfo(BASS_RECORDINFO) |
Retrieves information on the recording device being used.
|
![]() ![]() | BASS_RecordGetInput(Int32) |
Retrieves the setting of a recording input source.
|
![]() ![]() ![]() | BASS_RecordGetInput(Int32, Single) |
Retrieves the settings of a recording input source.
|
![]() ![]() ![]() | BASS_RecordGetInputName |
Retrieves the text description of a recording input source.
|
![]() ![]() | BASS_RecordGetInputNames |
Returns all available recording input source names.
|
![]() ![]() ![]() | BASS_RecordGetInputType |
Retrieves the type of input of a recording input source.
|
![]() ![]() ![]() | BASS_RecordInit |
Initializes a recording device.
|
![]() ![]() | BASS_RecordSetDevice |
Sets the recording device to use for subsequent calls in the current thread.
|
![]() ![]() ![]() | BASS_RecordSetInput |
Adjusts the settings of a recording input source.
|
![]() ![]() ![]() | BASS_RecordStart(Int32, Int32, BASSFlag, RECORDPROC, IntPtr) |
Starts recording.
|
![]() ![]() ![]() | BASS_RecordStart(Int32, Int32, BASSFlag, Int32, RECORDPROC, IntPtr) |
Starts recording.
|
![]() ![]() ![]() | BASS_SampleCreate |
Initiates the creation of a user generated sample.
|
![]() ![]() ![]() | BASS_SampleFree |
Frees a sample's resources.
|
![]() ![]() ![]() | BASS_SampleGetChannel |
Creates/initializes a playback channel for a sample.
|
![]() ![]() | BASS_SampleGetChannelCount |
Retrieves the number of existing sample's channels.
|
![]() ![]() ![]() | BASS_SampleGetChannels(Int32) |
Retrieves all a sample's existing channels.
|
![]() ![]() ![]() | BASS_SampleGetChannels(Int32, Int32) |
Retrieves all a sample's existing channels.
|
![]() ![]() ![]() | BASS_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! |
![]() ![]() ![]() | BASS_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! |
![]() ![]() | BASS_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! |
![]() ![]() | BASS_SampleGetData(Int32, IntPtr) |
Retrieves a copy of a sample's data.
|
![]() ![]() ![]() | BASS_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! |
![]() ![]() ![]() | BASS_SampleGetInfo(Int32) |
Retrieves a sample's default attributes and other information.
|
![]() ![]() ![]() | BASS_SampleGetInfo(Int32, BASS_SAMPLE) |
Retrieves a sample's default attributes and other information.
|
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_SampleSetData(Int32, Byte) |
Sets a sample's data.
|
![]() ![]() ![]() | BASS_SampleSetData(Int32, Int16) |
Sets a sample's data.
|
![]() ![]() ![]() | BASS_SampleSetData(Int32, Int32) |
Sets a sample's data.
|
![]() ![]() ![]() | BASS_SampleSetData(Int32, IntPtr) |
Sets a sample's data.
|
![]() ![]() ![]() | BASS_SampleSetData(Int32, Single) |
Sets a sample's data.
|
![]() ![]() ![]() | BASS_SampleSetInfo |
Sets a sample's default attributes.
|
![]() ![]() | BASS_SampleStop |
Stops all instances of a sample.
|
![]() ![]() ![]() | BASS_Set3DFactors |
Sets the factors that affect the calculations of 3D sound.
|
![]() ![]() ![]() | BASS_Set3DPosition |
Retrieves the position, velocity, and orientation of the listener.
|
![]() ![]() ![]() | BASS_SetConfig(BASSConfig, Boolean) |
Sets the value of a config option.
|
![]() ![]() ![]() | BASS_SetConfig(BASSConfig, Int32) |
Sets the value of a config option.
|
![]() ![]() ![]() | BASS_SetConfigPtr |
Sets the value of a pointer config option.
|
![]() ![]() ![]() | BASS_SetConfigString |
Sets the value of a string config option.
|
![]() ![]() ![]() | BASS_SetDevice |
Sets the device to use for subsequent calls in the current thread.
|
![]() ![]() | BASS_SetVolume |
Sets the output master volume.
|
![]() ![]() | BASS_Start |
Starts (or resumes) the output.
|
![]() ![]() | BASS_Stop |
Stops the output, stopping all musics/samples/streams.
|
![]() ![]() | BASS_StreamCreate(Int32, Int32, BASSFlag, BASSStreamProc) |
Creates a "dummy" stream.
|
![]() ![]() ![]() | BASS_StreamCreate(Int32, Int32, BASSFlag, STREAMPROC, IntPtr) |
Creates a user sample stream.
|
![]() ![]() | BASS_StreamCreateDevice |
Create a "dummy" stream for the device's final output mix (using the STREAMPROC_DEVICE option).
|
![]() ![]() | BASS_StreamCreateDevice3D |
Create a "dummy" stream for the device's final output mix (using the STREAMPROC_DEVICE_3D option).
|
![]() ![]() | BASS_StreamCreateDummy |
Creates a "dummy" stream (using the STREAMPROC_DUMMY option).
|
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_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. |
![]() ![]() ![]() | BASS_StreamCreateFileUser |
Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plugin supported file via user callback functions.
|
![]() ![]() ![]() | BASS_StreamCreatePush |
Creates a "push" stream (using the STREAMPROC_PUSH option).
|
![]() ![]() ![]() | BASS_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.
|
![]() ![]() | BASS_StreamFree |
Frees a sample stream's resources, including any SYNC/DSP/FX it has.
|
![]() ![]() ![]() | BASS_StreamGetFilePosition |
Retrieves the decoding/download/end position of a file stream.
|
![]() ![]() ![]() | BASS_StreamPutData(Int32, Byte, Int32) |
Adds sample data to a "push" stream.
|
![]() ![]() ![]() | BASS_StreamPutData(Int32, Int16, Int32) |
Adds sample data to a "push" stream.
|
![]() ![]() ![]() | BASS_StreamPutData(Int32, Int32, Int32) |
Adds sample data to a "push" stream.
|
![]() ![]() ![]() | BASS_StreamPutData(Int32, IntPtr, Int32) |
Adds sample data to a "push" stream.
|
![]() ![]() ![]() | BASS_StreamPutData(Int32, Single, Int32) |
Adds sample data to a "push" stream.
|
![]() ![]() | BASS_StreamPutData(Int32, Byte, Int32, Int32) |
Adds sample data to a "push" stream.
|
![]() ![]() | BASS_StreamPutFileData(Int32, Byte, Int32) |
Adds data to a "push buffered" user file stream's buffer.
|
![]() ![]() | BASS_StreamPutFileData(Int32, Int16, Int32) |
Adds data to a "push buffered" user file stream's buffer.
|
![]() ![]() | BASS_StreamPutFileData(Int32, Int32, Int32) |
Adds data to a "push buffered" user file stream's buffer.
|
![]() ![]() | BASS_StreamPutFileData(Int32, IntPtr, Int32) |
Adds data to a "push buffered" user file stream's buffer.
|
![]() ![]() | BASS_StreamPutFileData(Int32, Single, Int32) |
Adds data to a "push buffered" user file stream's buffer.
|
![]() ![]() | BASS_Update |
"Manually" updates the HSTREAM and HMUSIC channel buffers.
|
![]() ![]() | FreeMe |
Unloads this library. This must be called when you have previously called LoadMe.
|
![]() ![]() ![]() | LoadMe |
Loads this library into memory. The library will be search in the current application directory.
|
![]() ![]() ![]() | LoadMe(String) |
Loads this library into memory. The library will be loaded from the given path.
|
Name | Description | |
---|---|---|
![]() ![]() | BASSVERSION |
Current BASS version (without minor revision).
|
![]() ![]() | ERROR |
The BASS way to say ERROR = -1.
|
![]() ![]() | FALSE |
The BASS way to say = 0.
|
![]() ![]() | SupportedMusicExtensions |
Supported music file extensions of the bass.dll.
|
![]() ![]() | SupportedStreamExtensions |
Supported stream file extensions of the bass.dll.
|
![]() ![]() | SupportedStreamName |
Supported file format name of the bass.dll.
|
![]() ![]() | TRUE |
The BASS way to say = 1.
|
BASS is an audio library for use in Windows and MacOSX software. It's purpose is to provide the most powerful and efficient (yet easy to use), sample, stream, MOD music, and recording functions. All in a tiny DLL, under 100KB in size.
BASS requires DirectX 3 or above for output. BASS does not require that a soundcard with DirectSound/DirectSound3D hardware accelerated drivers is installed, but it does improve performance if there is one. BASS also takes advantage of MMX, which improves the performance of the MOD music playback
There is no guarantee that all future BASS versions will be compatible with all previous versions, so your program should use BASS_GetVersion to check the version that is loaded. This also means that you should put the BASS module in the same directory as your executable (not just somewhere in the path), to avoid the possibility of a wrong version being loaded.
There is no need to create an instance of this class, since all Bass methods are declared as static.
using System; using Un4seen.Bass; namespace MyFirstBass { class Program { static void Main(string[] args) { // init BASS using the default output device if ( Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, IntPtr.Zero) ) { // create a stream channel from a file int stream = Bass.BASS_StreamCreateFile("test.mp3", 0L, 0L, BASSFlag.BASS_DEFAULT); if (stream != 0) { // play the stream channel Bass.BASS_ChannelPlay(stream, false); } else { // error creating the stream Console.WriteLine("Stream error: {0}", Bass.BASS_ErrorGetCode()); } // wait for a key Console.WriteLine("Press any key to exit"); Console.ReadKey(false); // free the stream Bass.BASS_StreamFree(stream); // free BASS Bass.BASS_Free(); } } } }