Mp3Enc
 properties
 comands
 events
 errors
Picture
 comands

AboutBox ( ) shows about box

Authorize ( Name, Password ) enter the license name and password
OK ReturnValue = 0 else 5

ReturnValue = Mp3Play1.Authorize(“Password”,”Keyword”)

Open ( Inputfile, Outputfile ) opens mpeg audio file.
Inputfile is wave file name and outputfile is mp3 file.
returned 0 if OK else
Errorcode

ReturnValue = Mp3Enc1.Open(“C:\Song.wav”, “C:\Song.mp3")

Pause ( ) Toggle toPause-Mode 1. time pause, 2. time play

GetFrameCount() returned # of frames 

Encode ( ) Start Encoder-Thread.
If OK ReturnValue = 0

Stop ( ) Stop encoding. Returned 0 if OK, else Errorcode.

SetErrorMode (Errormode ) SetErrorMode() set the error handling.
If Errormode = 0 then return = errorcode
If Errormode <> 0 then error return
COleControl::FireError ( ) or
COleControl::ThrowError ( )
 


[Mp3Enc] [manual]