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.17.5
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
BASS_FILEPOS_CURRENT | 0 | 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_DOWNLOAD | 1 | Download progress of an internet file stream or "buffered" user file stream. | |
BASS_FILEPOS_END | 2 | 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_START | 3 | Start of stream data in the file. | |
BASS_FILEPOS_CONNECTED | 4 | Internet file stream or "buffered" user file stream is still connected? 0 = no, 1 = yes. | |
BASS_FILEPOS_BUFFER | 5 |
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_SOCKET | 6 | Returns the socket hanlde used for streaming. | |
BASS_FILEPOS_ASYNCBUF | 7 | 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_SIZE | 8 | Total size of the file. | |
BASS_FILEPOS_BUFFERING | 9 | The percentage of buffering remaining before playback of an internet file stream or "buffered" user file stream can resume | |
BASS_FILEPOS_AVAILABLE | 10 | The amount of data currently available to read from the current position. | |
BASS_FILEPOS_WMA_BUFFER | 1000 | WMA add-on: internet buffering progress (0-100%) | |
BASS_FILEPOS_HLS_SEGMENT | 65536 | HLS add-on: segment sequence number |
See Also