Defines a mixer channel to be used with BASS.NET.
Declaration Syntax
Members
All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
MixerChannel(Int32, ChannelType, Boolean, Boolean) |
Default constructor for the MixerChannel class. To create a new channel, use one
of the static methods of this class.
| |
AddChannel(Int32) |
Adds a source channel to the mixer. Only for mixer channels.
(Inherited from Channel.) | |
Bytes2Seconds(Int64) |
Converts bytes into milliseconds using the current channel properties.
(Inherited from Channel.) | |
channelType |
Private value for the ChannelType property.
(Inherited from Channel.) | |
ChannelType |
Indicates the type of channel (playback, FX, etc.)
(Inherited from Channel.) | |
CreateMixerStream(Int32, Int32, Boolean, Boolean) |
Creates a mixer stream from one or multiple source channels.
| |
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
Free()()()() |
Frees the stream.
(Inherited from Channel.) | |
GetAttribute(BASSAttribute, Single%) |
Gets an attribute value of the current channel (specified in the attribute property).
Returns the attribute value in the value property.
(Inherited from Channel.) | |
GetData(array<Byte>[]()[][], Int32) |
Gets data from the channel/stream buffer.
(Inherited from Channel.) | |
GetData(IntPtr, Int32) |
Gets data from the channel/stream buffer.
(Inherited from Channel.) | |
GetData(array<Single>[]()[][], Int32) |
Gets data from the channel/stream buffer.
(Inherited from Channel.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLength()()()() |
Gets the length of the channel in bytes.
(Inherited from Channel.) | |
GetMixerData(array<Single>[]()[][], Int32) |
Gets data from a mixer channel/stream buffer.
(Inherited from Channel.) | |
GetPosition(Int32) |
Returns the current position of a mixer channel in bytes.
Note: The handle of the decode channel must be passed in parameter. | |
GetPosition()()()() |
Returns the current position of the channel/stream in bytes.
(Inherited from Channel.) | |
GetSampleRate()()()() |
Returns the sample rate of the current channel.
(Inherited from Channel.) | |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
handle |
Private value for the Handle property.
(Inherited from Channel.) | |
Handle |
Handle to the channel.
(Inherited from Channel.) | |
IsActive()()()() |
Indicates if the channel/stream is currently active or stopped.
(Inherited from Channel.) | |
isDecode |
Private value for the IsDecode property.
(Inherited from Channel.) | |
IsDecode |
Indicates if the channel/stream is decoding.
(Inherited from Channel.) | |
isFloatingPoint |
Private value for the IsFloatingPoint property.
(Inherited from Channel.) | |
IsFloatingPoint |
Indicates if the channel/stream is using floating point.
(Inherited from Channel.) | |
Lock(Boolean) |
Locks or unlocks the position of the channel.
(Inherited from Channel.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Pause()()()() |
Pauses the playback of a channel.
(Inherited from Channel.) | |
Play(Boolean) |
Starts the playback of a channel.
(Inherited from Channel.) | |
RemoveFX(Int32) |
Removes an effect from the current channel.
(Inherited from Channel.) | |
RemoveSync(Int32, Int32) |
Removes a synchronization callback for a mixer channel.
Note: The handle of the decode channel must be passed in parameter. | |
RemoveSync(Int32) |
Removes a synchronization callback.
(Inherited from Channel.) | |
ResetFX(Int32) |
Resets the settings of an effect on the current channel.
(Inherited from Channel.) | |
sampleRate |
Private value for the SampleRate property.
(Inherited from Channel.) | |
SampleRate |
Defines the sample rate used for the channel.
To fetch the "live" sample rate, use GetSampleRate().
To set the sample rate, use SetSampleRate(). This will also set this value.
(Inherited from Channel.) | |
Seconds2Bytes2(Double) |
Converts milliseconds into bytes using the current channel properties.
(Inherited from Channel.) | |
SetAttribute(BASSAttribute, Single) |
Sets an attribute value of the current channel (specified in the attribute property).
(Inherited from Channel.) | |
SetFlags(BASSFlag, BASSFlag) |
Sets a flag on the current channel (specified in the flags property).
(Inherited from Channel.) | |
SetFX(BASSFXType, Int32) |
Sets an effect on the current channel.
(Inherited from Channel.) | |
SetPosition(Int64) |
Sets the position of the channel/stream in bytes.
(Inherited from Channel.) | |
SetSampleRate(Int32) |
Sets the sample rate of the current channel.
(Inherited from Channel.) | |
SetSync(Int32, BASSSync, Int64, SYNCPROC) |
Sets a synchronization callback for a mixer channel.
Note: The handle of the decode channel must be passed in parameter. | |
SetSync(BASSSync, Int64, SYNCPROC) |
Sets a synchronization callback.
(Inherited from Channel.) | |
SetTempo(Single) |
Sets the "tempo" of the current channel (for time shifting).
Note: needs to be an FX channel.
(Inherited from Channel.) | |
Stop()()()() |
Stops the playback of a channel.
(Inherited from Channel.) | |
ToString()()()() | (Inherited from Object.) | |
Volume |
Gets/sets the volume of the channel using GetAttribute/SetAttribute with
the attribute BASS_ATTRIB_VOL.
(Inherited from Channel.) |