Visual Basic .NET Class interface for libZPlay library.
Public Class ZPlay
This is VB.NET class wrapper for libzplay.dll library. Each method of this class is wrapper for one of C Style functions exported from libzplay.dll library.
ZPlay VB.NET 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.
'' add libZPlay.vb to your project '' ... '' include libZPlay namespace Imports libZPlay '' ... '' create ZPlay class Private player As ZPlay player = New ZPlay() '' open file and play player.OpenFile("myFile.mp3", TStreamFormat.sfAutodetect) player.StartPlayback()