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

The DSP_StreamCopy type exposes the following members.
Constructors

  NameDescription
Public methodDSP_StreamCopy 
Creates a new instance of the Stream Copy DSP, not assigning the DSP yet.
Public methodDSP_StreamCopy(Int32, Int32)
Creates a new instance of the Stream Copy DSP, which already assigns the DSP (Start  will be called automatically).
Back to Top
Methods

  NameDescription
Public methodDispose
Implement IDisposable.
(Inherited from BaseDSP.)
Public methodDSPCallback
User defined DSP callback function which does the stream copy operation. Not for direct use in your application!
(Overrides BaseDSP DSPCallback(Int32, Int32, IntPtr, Int32, IntPtr).)
Protected methodFinalize
Finalization code.
(Inherited from BaseDSP.)
Public methodOnBypassChanged
Occures when the SetBypass(Boolean) method was called.
(Overrides BaseDSP OnBypassChanged .)
Public methodOnChannelChanged
Occures when the ChannelHandle has been changed.
(Overrides BaseDSP OnChannelChanged .)
Public methodOnStarted
Occures when the Start  method was called. Actually creates the StreamCopy custom push stream here.
(Overrides BaseDSP OnStarted .)
Public methodOnStopped
Occures when the Stop  method was called. Actually frees the StreamCopy custom stream here.
(Overrides BaseDSP OnStopped .)
Public methodRaiseNotification
Fires the Notification event.
(Inherited from BaseDSP.)
Public methodReSync
Re-Synchronizes the StreamCopy with the ChannelHandle when using BASSmix mixer channels.
Public methodSetBypass
Sets the Bypass mode.
(Inherited from BaseDSP.)
Public methodStart
Assigns the DSP to the channel (actually starts using the DSP).
(Inherited from BaseDSP.)
Public methodStop
Stops (removes) the DSP from the channel.
(Inherited from BaseDSP.)
Public methodToString
Returns the name of the DSP.
(Overrides BaseDSP ToString .)
Back to Top
Properties

  NameDescription
Public propertyChannelBitwidth
This property returns the actual bitwidth of the sample data of the channel (e.g. 8, 16, 32).
(Inherited from BaseDSP.)
Public propertyChannelHandle
Gets or Sets the channel that the DSP is being applied to.
(Inherited from BaseDSP.)
Public propertyChannelInfo
Gets the BASS_CHANNELINFO of the assigned ChannelHandle.
(Inherited from BaseDSP.)
Public propertyChannelNumChans
This property returns the actual number of channles of the sample data BASS is using with the channel (e.g. 1=mono, 2=stereo, etc.).
(Inherited from BaseDSP.)
Public propertyChannelSampleRate
This property returns the actual sample rate in Hz of the sample data BASS is using with the channel (e.g. 44100).
(Inherited from BaseDSP.)
Public propertyDSPHandle
Returns the actual DSP handle (or 0, if the DSP has not been assigned to the channel).
(Inherited from BaseDSP.)
Public propertyDSPPriority
Sets or reassigns the priority of the DSP, which determines it's position in the DSP chain - DSPs with higher priority are called before those with lower.
(Inherited from BaseDSP.)
Public propertyDSPProc
Returns the actual DSPPROC (callback delegate) which is used by the DSP.
(Inherited from BaseDSP.)
Public propertyIsAssigned
Is the DSP assigned to an active channel? ( =assigned,  =not assigned).
(Inherited from BaseDSP.)
Public propertyIsBypassed
Returns if the DSP is currently bypassed ( =bypass).
(Inherited from BaseDSP.)
Public propertyIsOutputBuffered
Gets or Sets, if the StreamCopy should be buffered or not (default is  ).
Public propertyOutputLatency
Gets or Sets the output latency in milliseconds (default = 0).
Public propertySourceMixerStream
Gets or Sets the mixer handle of the mixer from which you are cloning (see BASSmix addon).
Public propertyStreamCopy
Gets the copied BASS stream (the created custom push stream).
Public propertyStreamCopyDevice
Gets or Sets the BASS device, which should be used for the stream copy.
Public propertyStreamCopyFlags
Gets or Sets the BASSFlag flags which should be used to create the StreamCopy.
Public propertyTargetMixerStream
Gets or Sets the mixer handle of the mixer to which the StreamCopy handle should be added (see BASSmix addon).
Public propertyUser
Gets or Sets the value of the user instance data to pass to the callback function (see DSPCallback(Int32, Int32, IntPtr, Int32, IntPtr)).
(Inherited from BaseDSP.)
Back to Top
Events

  NameDescription
Public eventNotification
Event handler used to notify that the DSP has processed some data.
(Inherited from BaseDSP.)
Back to Top
See Also