The BASS_SAMPLE type exposes the following members.
Fields
Name | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
chans |
Number of channels... 1=mono, 2=stereo (default), etc.
| |||||||||||||||||||||
flags |
A combination of these flags (BASSFlag):
| |||||||||||||||||||||
freq |
Default playback rate (set to 44100 by default).
| |||||||||||||||||||||
iangle |
The angle of the inside projection cone in degrees... 0 (no cone, default) - 360 (sphere).
| |||||||||||||||||||||
length |
The length in bytes.
| |||||||||||||||||||||
max |
Maximum number of simultaneous playbacks (defaulted to 1).
| |||||||||||||||||||||
maxdist |
The maximum distance (default 0). The sample's volume stops decreasing when the listener is beyond this distance.
| |||||||||||||||||||||
mindist |
The minimum distance (default 0). The sample's volume is at maximum when the listener is within this distance.
| |||||||||||||||||||||
mingap |
Minimum time gap in milliseconds between creating channels using BASS_SampleGetChannel(Int32, BASSFlag).
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).
| |||||||||||||||||||||
mode3d |
The 3D processing mode... one of these flags (see BASS3DMode):
| |||||||||||||||||||||
oangle |
The angle of the outside projection cone in degrees... 0 (no cone, default) - 360 (sphere).
| |||||||||||||||||||||
origres |
The original resolution (bits per sample)... 0 = undefined (default).
| |||||||||||||||||||||
outvol |
The delta-volume outside the outer projection cone... 0 (silent) to 1 (full, default) - same as inside the cone.
| |||||||||||||||||||||
pan |
Default panning position -1 (full left) to +1 (full right) - defaulted to 0 = centre.
| |||||||||||||||||||||
priority |
Priority, used with the BASS_VAM_TERM_PRIO flag... 0 (min, default) - 0xFFFFFFFF (max)
| |||||||||||||||||||||
vam |
The following are the sample's DX7 voice allocation/management settings (if VAM is enabled)...a combination of these (BASSVam):
| |||||||||||||||||||||
volume |
Default volume... 0 (silent) to 1 (full, default).
|
See Also