Description | Hierarchy | Fields | Methods | Properties |
type unaLameEncoder = class(unaObject)
Base class for all objects defined in this unit.
![]() |
constructor create(const libName: string = c_lameEncDLL); |
![]() |
function encode(data: pointer; len: int): int; |
![]() |
function flush(locked: bool = true): int; |
![]() |
function open(bitrate: int = 128; cbr: bool = true; resample: int = -1; preset: int = LQP_NOPRESET): int; |
![]() |
function openVBR(minBitrate: int = 96; maxBitrate: int = 256; quality: int = 8; resample: int = -1; preset: int = LQP_NOPRESET): int; |
![]() |
procedure BeforeDestruction(); override; |
![]() |
procedure close(); |
![]() |
procedure getVer(var ver: BE_VERSION); |
![]() |
procedure onEncodedData(sampleDelta: uint; data: pointer; len: uint); virtual; |
![]() |
property active: bool read f_active; |
![]() |
property bCopyright: bool read f_bCopy write f_bCopy; |
![]() |
property bOriginal: bool read f_bOriginal write f_bOriginal; |
![]() |
property bPrivate: bool read f_bPrivate write f_bPrivate; |
![]() |
property libOK: bool read f_libOK; |
![]() |
property nMPEG: unsigned read f_mpeg write f_mpeg; |
![]() |
property nNumChannels: unsigned read f_nCh write f_nCh; |
![]() |
property nSamplesPerSecond: unsigned read f_nSps write f_nSps; |
![]() |
constructor create(const libName: string = c_lameEncDLL); |
![]() |
function encode(data: pointer; len: int): int; |
![]() |
function flush(locked: bool = true): int; |
![]() |
function open(bitrate: int = 128; cbr: bool = true; resample: int = -1; preset: int = LQP_NOPRESET): int; |
Initializates and open the encoder for CBR or ABR.
Parameters
ReturnsBE_ERR_SUCCESSFUL in case encoder was successully initialized |
![]() |
function openVBR(minBitrate: int = 96; maxBitrate: int = 256; quality: int = 8; resample: int = -1; preset: int = LQP_NOPRESET): int; |
Initializates and open the encoder for VBR.
Parameters
ReturnsBE_ERR_SUCCESSFUL in case encoder was successully initialized |
![]() |
procedure BeforeDestruction(); override; |
![]() |
procedure close(); |
![]() |
procedure getVer(var ver: BE_VERSION); |
![]() |
procedure onEncodedData(sampleDelta: uint; data: pointer; len: uint); virtual; |
![]() |
property active: bool read f_active; |
![]() |
property bCopyright: bool read f_bCopy write f_bCopy; |
![]() |
property bOriginal: bool read f_bOriginal write f_bOriginal; |
![]() |
property bPrivate: bool read f_bPrivate write f_bPrivate; |
![]() |
property libOK: bool read f_libOK; |
![]() |
property nMPEG: unsigned read f_mpeg write f_mpeg; |
![]() |
property nNumChannels: unsigned read f_nCh write f_nCh; |
![]() |
property nSamplesPerSecond: unsigned read f_nSps write f_nSps; |
– properties – |
(c) 2012 Lake of Soft