Constructor to initialize the members.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
public BASS_SAMPLE( int Freq, float Volume, float Pan, BASSFlag Flags, int Length, int Max, int OrigRes, int Chans, int MinGap, BASS3DMode Flag3D, float MinDist, float MaxDist, int IAngle, int OAngle, float OutVol, BASSVam FlagsVam, int Priority )
Parameters
- Freq
- Type: SystemInt32
Default playback rate. - Volume
- Type: SystemSingle
Default volume (0-1). - Pan
- Type: SystemSingle
Default pan (-1=left, 0=middle, +1=right). - Flags
- Type: Un4seen.BassBASSFlag
BASS_SAMPLE_xxx flags (BASSFlag). - Length
- Type: SystemInt32
Length (in bytes). - Max
- Type: SystemInt32
Maximum simultaneous playbacks. - OrigRes
- Type: SystemInt32
Original resolution bits. - Chans
- Type: SystemInt32
Number of channels. - MinGap
- Type: SystemInt32
Minimum time gap in milliseconds between creating channels. - Flag3D
- Type: Un4seen.BassBASS3DMode
BASS_3DMODE_xxx mode (BASS3DMode). - MinDist
- Type: SystemSingle
Minimum distance. - MaxDist
- Type: SystemSingle
Maximum distance. - IAngle
- Type: SystemInt32
Angle of inside projection cone. - OAngle
- Type: SystemInt32
Angle of outside projection cone. - OutVol
- Type: SystemSingle
Delta-volume outside the projection cone. - FlagsVam
- Type: Un4seen.BassBASSVam
Voice allocation/management flags (BASS_VAM_xxx flags BASSVam). - Priority
- Type: SystemInt32
Priority (0=lowest, 0xffffffff=highest).
See Also