libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay Class

C# Class interface for libZPlay library.

C#
public class ZPlay;

This is C# 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 C# 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 C# interface
  • add libZPlay.cs to your project
  • include libZplay namespace
  • create instance of ZPlay class
  • use ZPlay methods to play music
// add libZPlay.cs to your project
// ...

// include libZPlay namespace
using libZPlay;

// ...

// create ZPlay class
ZPlay player = new ZPlay();

// open file and play
player.OpenFile("myFile.mp3", TStreamFormat.sfAutodetect);
player.StartPlayback();
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr