Audio Player


CLASS aprAudio

 

Description
The audio player Class provides Methods for converting audio files in a variety of formats to the native Windows format. The Audio Class can also be used to play the audio files or the Multimedia API can be used in conjunction with the library to provide greater control over the audio playback. 

 

 

Variables

 

:AudioFile

Audio File Name

 

:cErr

Holds a description for the Last error code

 

:DeBug

Enable/Disable extended Debug notifications.

 

:DebugTrace

Enable/Disable Callstack List to be included in Error Messages (:Debug)

 

:nErr

Holds the last error code

 

 

 

Methods

 

:New()

Creates a new instance of the aprAudio Class

 

:Destroy()

Releases the system resources assigned by the :New() Method.

 

 

 

 

:Cancel()

Cancel the playback of an audio file

 

:Convert()

Convert an audio file from one format to another

 

:GetFormat()

Return the format of the specified audio file

 

:Play()

Play the specified audio file

 

:SetLastError()

Set the last error code for the caller