C# Class ManagedBass.SampleInfo

Datei anzeigen Open project: webmaster442/TCPlayer Class Usage Examples

Public Properties

Property Type Description
Channels int
Flags BassFlags
Frequency int
InsideAngle int
Length int
Max int
MaxDistance float
MinDistance float
MinGap int
Mode3D Mode3D
OriginalResolution int
OutsideAngle int
OutsideVolume float
Pan float
Priority int
VAM VAMMode
Volume float

Property Details

Channels public_oe property

Number of channels... 1=mono, 2=stereo (default), etc.
public int Channels
return int

Flags public_oe property

A combination of BassFlags.
public BassFlags Flags
return BassFlags

Frequency public_oe property

Default playback rate (set to 44100 by default).
public int Frequency
return int

InsideAngle public_oe property

The angle of the inside projection cone in degrees... 0 (no cone, default) - 360 (sphere).
public int InsideAngle
return int

Length public_oe property

The Length in bytes.
public int Length
return int

Max public_oe property

Maximum number of simultaneous playbacks (defaulted to 1).
public int Max
return int

MaxDistance public_oe property

The maximum distance (default 0). The sample's volume stops decreasing when the listener is beyond this distance.
public float MaxDistance
return float

MinDistance public_oe property

The minimum distance (default 0). The sample's volume is at maximum when the listener is within this distance.
public float MinDistance
return float

MinGap public_oe property

Minimum time gap in milliseconds between creating channels using Bass.SampleGetChannel. This can be used to prevent flanging effects caused by playing a sample multiple times very close to eachother. The default setting, when loading/creating a sample, is 0 (disabled).
public int MinGap
return int

Mode3D public_oe property

The 3D processing mode...
public Mode3D Mode3D
return Mode3D

OriginalResolution public_oe property

The original resolution (bits per sample)... 0 = undefined (default).
public int OriginalResolution
return int

OutsideAngle public_oe property

The angle of the outside projection cone in degrees... 0 (no cone, default) - 360 (sphere).
public int OutsideAngle
return int

OutsideVolume public_oe property

The delta-volume outside the outer projection cone... 0 (silent) to 1 (full, default) - same as inside the cone.
public float OutsideVolume
return float

Pan public_oe property

Default panning position -1 (full left) to +1 (full right) - defaulted to 0 = centre.
public float Pan
return float

Priority public_oe property

Priority, used with the VAMMode.TerminatePriority flag... 0 (min, default) - 0xFFFFFFFF (max)
public int Priority
return int

VAM public_oe property

The sample's DX7 voice allocation/management settings (if VAM is enabled)...a combination of VAMMode flags.
public VAMMode VAM
return VAMMode

Volume public_oe property

Default volume... 0 (silent) to 1 (full, default).
public float Volume
return float