BASS.NET API for the Un4seen BASS Audio LibraryBASSStreamFilePosition EnumerationBASS.NET API for the Un4seen BASS Audio Library
Stream File Position modes to be used with BASS_StreamGetFilePosition(Int32, BASSStreamFilePosition)

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public enum BASSStreamFilePosition
Members

  Member nameValueDescription
BASS_FILEPOS_CURRENT0 Position that is to be decoded for playback next. This will be a bit ahead of the position actually being heard due to buffering.
BASS_FILEPOS_DOWNLOAD1 Download progress of an internet file stream or "buffered" user file stream.
BASS_FILEPOS_END2 End of the file, in other words the file length. When streaming in blocks, the file length is unknown, so the download buffer length is returned instead.
BASS_FILEPOS_START3 Start of stream data in the file.
BASS_FILEPOS_CONNECTED4 Internet file stream or "buffered" user file stream is still connected? 0 = no, 1 = yes.
BASS_FILEPOS_BUFFER5 The amount of data in the buffer of an internet file stream or "buffered" user file stream.

Unless streaming in blocks, this is the same as BASS_FILEPOS_DOWNLOAD.

BASS_FILEPOS_SOCKET6 Returns the socket hanlde used for streaming.
BASS_FILEPOS_ASYNCBUF7 The amount of data in the asynchronous file reading buffer. This requires that the BASS_ASYNCFILE flag was used at the stream's creation.
BASS_FILEPOS_WMA_BUFFER1000 WMA add-on: internet buffering progress (0-100%)
BASS_FILEPOS_HLS_SEGMENT65536 HLS add-on: segment sequence number
See Also

Reference