C Style interface for libZPlay library.
This interface is wrapper around ZPlay methods.
Each method is implemented as single C style function using __stdcall calling convention.
All you need to do is to create instance of ZPlay class, but using C style function. Class instance will be created internally, and user will use this instance as some sort of handle. With this handle, user can access ZPlay methods using wrapper functions.
![]() |
You must link your project with dll interface library to access exported functions from libzplay.dll.
Use interface link library from import_libs directory:
|
To create new class instance use zplay_CreateZPlay() function:
#include "libzplay.h" // use namespace for interface using namespace libZPlay; // create class instance using C Style class factory function ZPLAY_HANDLE instance = zplay_CreateZPlay();
![]() |
There is no difference between class instance created by CreateZPlay() function and zplay_CreateZPlay() function. |
When ZPLAY_HANDLE (class instance) is created, use C Style Interface functions to play your songs.
At the end, ZPLAY_HANDLE (class instance) must be destroyed with zplay_DestroyZPlay function:
// destroy class instance, in this case C Style interface
zplay_DestroyZPlay(instance);
|
Name |
Description |
![]() |
Class factory for ZPlay C++ interface. | |
![]() |
Add file to gapless queue. (ANSI version) | |
![]() |
Add file to gapless queue. (UNICODE version) | |
![]() |
Close open stream. | |
![]() |
Class factory for ZPlay C++ interface. | |
![]() |
Destroy interface instance. | |
![]() |
Detect beat-per-minute of current stream. | |
![]() |
Detect beat-per-minute value of specified file. (ANSI version) | |
![]() |
Detect beat-per-minute value of specified file. (UNICODE version) | |
![]() |
Draw HBITMAP on device context. Only in version 2.00 and above. | |
![]() |
Draw HBITMAP on window control. Only in version 2.00 and above. | |
![]() |
Draw FFT graph on window control using window handle. | |
![]() |
Draw FFT graph on window control using window handle. | |
![]() |
Enable or disable echo. | |
![]() |
Enable or disable equalizer. | |
![]() |
Enumerate waveform-audio input devices. | |
![]() |
Enumerate waveform-audio output devices. | |
![]() |
Get current bitrate. | |
![]() |
Get dynamic stream load. | |
![]() |
Get current echo effects. | |
![]() |
Get equalizer band gain. | |
![]() |
Get equalizer parameters, band gain and preamp gain. | |
![]() |
Get equalizer points of frequency bands. | |
![]() |
Get equalizer preamp gain. | |
![]() |
Get description of last error. (ANSI version) | |
![]() |
Get description of last error. (UNICODE version) | |
![]() |
Get FFT data for currently playing samples. | |
![]() |
Get parameters of FFT graph. | |
![]() |
Determine stream format of specified file (ANSI version). | |
![]() |
Determine stream format of specified file (UNICODE version). | |
![]() |
Get output volume of wave out device driver. | |
![]() |
Get pitch. | |
![]() |
Get internal volume. | |
![]() |
Get current position. | |
![]() |
Get rate. | |
![]() |
Get interface settings. | |
![]() |
Get current status of stream (playing, paused, echo status, eqaulizer status, ....) | |
![]() |
Get stream informations (length, sampling rate, channel number, ...), ANSI version | |
![]() |
Get stream informations (length, sampling rate, channel number, ...), UNICODE version | |
![]() |
Get tempo. | |
![]() |
Get library version number. | |
![]() |
Get VU data for left and right channel | |
![]() |
Retrieves the capabilities of a specified waveform-audio input device (ANSI version). | |
![]() |
Retrieves the capabilities of a specified waveform-audio input device (UNICODE version). | |
![]() |
Retrieves the capabilities of a specified waveform-audio output device (ANSI version). | |
![]() |
Retrieves the capabilities of a specified waveform-audio output device (UNICODE version). | |
![]() |
Check if stream data is free. | |
![]() |
Load ID3 data from specified file. (ANSI version) | |
![]() |
Load ID3 extended data from specified file. (ANSI version) Only in version 2.00 and above. | |
![]() |
Load ID3 extended data from specified file. (UNICODE version) Only in version 2.00 and above. | |
![]() |
Load ID3 data from specified file. (ANSI version) | |
![]() |
Load ID3 data from current stream. (ANSI version) | |
![]() |
Load ID3 extended data from current stream. (ANSI version) Only in version 2.00 and above. | |
![]() |
Load ID3 extended data from current stream. (UNICODE version) Only in version 2.00 and above. | |
![]() |
Load ID3 data from current stream. (UNICODE version) | |
![]() |
This is function libZPlayCpp::zplay_memcpy. | |
![]() |
This is function libZPlayCpp::zplay_memmove. | |
![]() |
This is function libZPlayCpp::zplay_memset. | |
![]() |
Mix stereo channels into mono channel. | |
![]() |
Open disk file (ANSI version). | |
![]() |
Open disk file (UNICODE version). | |
![]() |
Open memory stream. | |
![]() |
Pause playing. | |
![]() |
Start playing from current position. | |
![]() |
Play specified segment of song, in loop if needed. | |
![]() |
Push new data to dynamic stream. | |
![]() |
Resume paused playing. | |
![]() |
Enable or disable reverse mode. | |
![]() |
Seek position. | |
![]() |
Set callback function. | |
![]() |
Set and change echo effect parameters. | |
![]() |
Set equalizer band gain. | |
![]() |
Set equalizer parameters, band gain and preamp gain. | |
![]() |
Set equalizer points to create new frequency bands. | |
![]() |
Set equalizer preamp gain. | |
![]() |
Set and change parameters of FFT graph. | |
![]() |
Set external volume. | |
![]() |
Change pitch without changing tempo. | |
![]() |
Set internal volume. | |
![]() |
Change playing rate (change pitch and tempo). | |
![]() |
Set interface settings. | |
![]() |
Change tempo without changing pitch. | |
![]() |
Set wave in device for this interface instance. | |
![]() |
Set wave out device for this interface instance. | |
![]() |
Set wave output to disk file. (ANSI version) | |
![]() |
Set wave output to disk file. (UNICODE version) | |
![]() |
Slide internal volume. | |
![]() |
Cut center or sides from stereo. | |
![]() |
Stop playing. | |
![]() |
This is function libZPlayCpp::zplay_strcpy. | |
![]() |
This is function libZPlayCpp::zplay_strlen. | |
![]() |
This is function libZPlayCpp::zplay_wcscpy. | |
![]() |
This is function libZPlayCpp::zplay_wcslen. |
Name |
Description |
The following table lists functions in this documentation. |
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |