Enum VAMMode
Voice allocation management flags. These flags enable hardware resource stealing... if the hardware has no available voices, a currently playing Buffer will be stopped to make room for the new Buffer.
Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.dll
Syntax
public enum VAMMode : int
Remarks
NOTE: only samples loaded/created with the VAM flag are considered for termination by the DX7 voice management.
Hardware
Play the sample in hardware (default). If no hardware voices are available then the "play" call will fail.
Software
Play the sample in software (ie. non-accelerated). No other VAM flags may be used together with this flag.
TerminateDistance
If there are no free hardware voices, the Buffer to be terminated will be one that was loaded/created with the MuteMax flag and is beyond it's max distance. If there are no buffers that match this criteria, then the "play" call will fail.
TerminatePriority
If there are no free hardware voices, the Buffer to be terminated will be the one with the lowest priority.
TerminateTime
If there are no free hardware voices, the Buffer to be terminated will be the one with the least time left to play.