libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.AddFile Method

Add file to gapless queue.

C#
public bool AddFile(string FileName, TStreamFormat Format);
Parameters 
Description 
string FileName 
String that specifies the name of the file. 
TStreamFormat Format 
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