libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay Class

Delphi Class interface for libZPlay library.

Pascal
ZPlay = class;

This is Delphi class wrapper for libzplay.dll library. Each method of this class is wrapper for one of C Style functions exported from libzplay.dll library. 

Note:
ZPlay Delphi Class must have access to libzplay.dll to function properly.
 

All you need to do is to create instance of ZPlay class. Interaction with this class is implemented through class methods

 

How to use Delphi interface
// add libZPlay.pas to your project
// ...

// include libZPlay namespace
uses libZPlay;

// ...

// create ZPlay class
var
  player: ZPlay;

// ...

player := ZPlay.Create;

// open file and play
player.OpenFile(OpenDialog1.FileName, sfAutodetect);
player.StartPlayback();

// ...
// at the end destroy class
player.Free;
Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr