Add file to gapless queue.
Public Function AddFile(ByVal FileName As String, ByVal Format As TStreamFormat) As Boolean
Parameters |
Description |
ByVal FileName As String |
String that specifies the name of the file. |
ByVal Format As TStreamFormat |
Stream format. Use sfAutodetect if you need to autodetect stream format of specified file. |
Return Values |
Description |
True |
All OK. |
False |
Error. To get error message read here. |
All streams added to gapless queue will play without gap between these streams. When one stream ends, next stream from queue starts playing without interruption. Position marker is set to 0 for each stream from queue. This means that when one stream ends, position is set to 0 for next stream. Position is not cumulated.
You can clear gapless queue with Close.
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |