Description | Hierarchy | Fields | Methods | Properties |
type unaMpgLibDecoder = class(unaThread)
MPGLIB decoder wrapper. (Old one, do not use)
![]() |
constructor create(const libName: wString = ''); |
![]() |
function open(): int; |
![]() |
function execute(threadIndex: unsigned): int; override; |
![]() |
procedure AfterConstruction(); override; |
![]() |
procedure BeforeDestruction(); override; |
![]() |
procedure close(); |
![]() |
procedure loadLibrary(const libName: wString = ''); |
![]() |
procedure unloadLibrary(); |
![]() |
procedure write(data: pointer; len: unsigned); |
![]() |
procedure doWrite(data: pointer; len: unsigned); virtual; |
![]() |
procedure notifyData(data: pointer; size: unsigned; var copyToStream: bool); virtual; |
![]() |
procedure notifySamplingChange(rate, bits, channels: unsigned); virtual; |
![]() |
procedure startIn(); override; |
![]() |
procedure startOut(); override; |
![]() |
property ensureLayer: int read f_ensureLayer write f_ensureLayer default -1; |
![]() |
property errorCode: int read f_errorCode; |
![]() |
property inDataSize: unsigned read getInDataSize; |
![]() |
property MPSTR: PMPSTR read f_MPSTR; |
![]() |
property onApplySampling: mpglibApplySamplingEvent read f_onApplySampling write f_onApplySampling; |
![]() |
property onDataAvail: mpgLibDataAvailEvent read f_onDataAvail write f_onDataAvail; |
![]() |
constructor create(const libName: wString = ''); |
![]() |
function open(): int; |
![]() |
function execute(threadIndex: unsigned): int; override; |
![]() |
procedure AfterConstruction(); override; |
![]() |
procedure BeforeDestruction(); override; |
![]() |
procedure close(); |
![]() |
procedure loadLibrary(const libName: wString = ''); |
![]() |
procedure unloadLibrary(); |
![]() |
procedure write(data: pointer; len: unsigned); |
![]() |
procedure doWrite(data: pointer; len: unsigned); virtual; |
![]() |
procedure notifyData(data: pointer; size: unsigned; var copyToStream: bool); virtual; |
![]() |
procedure notifySamplingChange(rate, bits, channels: unsigned); virtual; |
![]() |
procedure startIn(); override; |
![]() |
procedure startOut(); override; |
![]() |
property ensureLayer: int read f_ensureLayer write f_ensureLayer default -1; |
![]() |
property errorCode: int read f_errorCode; |
![]() |
property inDataSize: unsigned read getInDataSize; |
set to 1, 2, or 3 to better protection against broken MP3 files |
![]() |
property MPSTR: PMPSTR read f_MPSTR; |
0 for OK |
![]() |
property onApplySampling: mpglibApplySamplingEvent read f_onApplySampling write f_onApplySampling; |
![]() |
property onDataAvail: mpgLibDataAvailEvent read f_onDataAvail write f_onDataAvail; |
(c) 2012 Lake of Soft