C# Class interface for libZPlay library.
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.
// 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();
|
Name |
Description |
|
C# Class interface for libZPlay library. |
|
Name |
Description |
|
Add file to gapless queue. | |
|
Close open stream. | |
|
Detect beat-per-minute of current stream. | |
|
Detect beat-per-minute value of specified file. | |
|
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. | |
|
Get FFT data for currently playing samples. | |
|
Get parameters of FFT graph. | |
|
Determine stream format of specified file. | |
|
Get output volume of wave out device driver. | |
|
Get pitch. | |
|
Get internal volume. | |
|
Get current position. | |
|
Get rate. | |
|
Get class instance settings. | |
|
Get current status of stream (playing, paused, echo status, eqaulizer status, ....) | |
|
Get stream informations (length, sampling rate, channel number, ...). | |
|
Get tempo. | |
|
Get library version number. | |
|
Get VU data for left and right channel | |
|
Retrieves the capabilities of a specified waveform-audio input device. | |
|
Retrieves the capabilities of a specified waveform-audio output device. | |
|
Check if stream data is free. | |
|
Load ID3 data from specified file. | |
|
Load extended ID3 data from specified file. Only in version 2.00 and above. | |
|
Load ID3 data from current stream. | |
|
Load extended ID3 data from current stream. Only in version 2.00 and above. | |
|
Mix stereo channels into mono channel. | |
|
Open disk file. | |
|
Open memory stream. | |
|
Pause playing. | |
|
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 out input for this class instance. | |
|
Set wave out device for this class instance. | |
|
Set wave output to disk file. | |
|
Slide internal volume. | |
|
Start playing from current position. | |
|
Cut center or sides from stereo. | |
|
Stop playing. |
|
Name |
Description |
|
Beat-per-minute detection method. | |
|
Callback messages. | |
|
Echo effect structure. | |
|
FFT graph horizontal frequency scale. | |
|
FFT graph parameter identifier. | |
|
Minimal FFT graph size. | |
|
FFT graph type. | |
|
FFT window. | |
|
ID3 informations. | |
|
Extended ID3 informations. Only in version 2.00 and above. | |
|
TID3 picture. Only in version 2.00 and above. | |
|
ID3 version identifier. | |
|
Seek method. | |
|
Interface setting identifier. | |
|
Stream format identifier. | |
|
Hour-minute-second time format. | |
|
Stream informations ( length, sampling rate, ...). | |
|
Dynamic stream load informations. | |
|
Stream status informations. | |
|
Stream time structure. | |
|
Time format. | |
|
Wave input info. | |
|
Specifies a waveform-audio output device capable of playing the given format. | |
|
Wave out supported formats. | |
|
Wave out optional functionality supported by the device. | |
|
Wave out info. | |
|
Specifies a waveform-audio output device capable of playing the given format. |
Name |
Description |
| |
The methods of the ZPlay class are listed here. | |
The following table lists classes in this documentation. | |
The following table lists structs, records, enums in this documentation. | |
The following table lists types in this documentation. |
Name |
Description |
Callback function prototype. |
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |