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: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
BASS_VAM_HARDWARE | 1 | Play the sample in hardware. If no hardware voices are available then the "play" call will fail | |
BASS_VAM_SOFTWARE | 2 | Play the sample in software (ie. non-accelerated). No other VAM flags may be used together with this flag. | |
BASS_VAM_TERM_TIME | 4 | If there are no free hardware voices, the buffer to be terminated will be the one with the least time left to play. | |
BASS_VAM_TERM_DIST | 8 | If there are no free hardware voices, the buffer to be terminated will be one that was loaded/created with the BASS_SAMPLE_MUTEMAX flag and is beyond it's max distance. If there are no buffers that match this criteria, then the "play" call will fail. | |
BASS_VAM_TERM_PRIO | 16 | If there are no free hardware voices, the buffer to be terminated will be the one with the lowest priority. |
Remarks
See Also