Channel Position Mode flags to be used with e.g. BASS_ChannelGetLength(Int32, BASSMode), BASS_ChannelGetPosition(Int32, BASSMode), BASS_ChannelSetPosition(Int32, Int64, BASSMode) or BASS_StreamGetFilePosition(Int32, BASSStreamFilePosition).
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
BASS_POS_BYTE | 0 | Byte position. | |
BASS_POS_MUSIC_ORDER | 1 | Order.Row position (HMUSIC only). | |
BASS_POS_MIDI_TICK | 2 | Tick position (MIDI streams only). | |
BASS_POS_OGG | 3 | OGG bitstream number. | |
BASS_POS_CD_TRACK | 4 | CD Add-On: the track number. | |
BASS_POS_MIXER_DELAY | 5 | BASSmix Add-On: Get the amount remaining of any start delay that was set via BASS_Mixer_StreamAddChannelEx(Int32, Int32, BASSFlag, Int64, Int64). | |
BASS_POS_END | 16 | Trimmed end position. | |
BASS_POS_LOOP | 17 | Loop start position | |
BASS_POS_FLUSH | 16777216 | Flag: flush decoder/FX buffers | |
BASS_POS_RESET | 33554432 | Flag: Reset user file buffers. This allows a user file stream with the BASS_STREAM_BLOCK flag set to be reset, so that it is ready to process new data. This flag can only be used with the BASS_POS_BYTE mode, and pos must be 0. | |
BASS_POS_RELATIVE | 67108864 | Flag: The requested position is relative to the current position. pos is treated as signed in this case and can be negative. | |
BASS_POS_INEXACT | 134217728 | Flag: Allow inexact seeking. For speed, seeking may stop at the beginning of a block rather than partially processing the block to reach the requested position. | |
BASS_MUSIC_POSRESET | 32768 | MOD Music Flag: Stop all notes when moving position. | |
BASS_MUSIC_POSRESETEX | 4194304 | MOD Music Flag: Stop all notes and reset bmp/etc when moving position. | |
BASS_MIXER_CHAN_NORAMPIN | 8388608 | Mixer Flag: Don't ramp-in the start after seeking. | |
BASS_POS_MIXER_RESET | 65536 | Mixer Flag: Clear mixer's playback buffer. | |
BASS_POS_DECODE | 268435456 | Get the decoding (not playing) position. | |
BASS_POS_DECODETO | 536870912 | Flag: decode to the position instead of seeking. | |
BASS_POS_SCAN | 1073741824 |
Flag: Scan the file to build a seek table up to the position, if it has not already been scanned.
Scanning will continue from where it left off previously rather than restarting from the beginning of the file each time. This flag only applies to MP3/MP2/MP1 files and will be ignored with other file formats. | |
BASS_MIDI_DECAYSEEK | 16384 | Midi Add-On: Let the old sound decay naturally (including reverb) when changing the position, including looping and such can also be used in BASS_ChannelSetPosition(Int32, Int64, BASSMode) calls to have it apply to particular position changes. |
See Also