Description | Hierarchy | Fields | Methods | Properties |
type unaBladeMp3Enc = class(unaAbstractEncoder)
Provides access to Blade MP3 encoder. Requires Blade library DLL (BladeEnc.dll)
f_dllPathAndName: wString; |
|
f_version: PBE_VERSION; |
|
f_stream: HBE_STREAM; |
constructor create(const dllPathAndName: wString = ''; priority: integer = THREAD_PRIORITY_NORMAL); |
|
function doClose(): UNA_ENCODER_ERR; override; |
|
function doEncode(data: pointer; nBytes: unsigned; out bytesUsed: unsigned): UNA_ENCODER_ERR; override; |
|
function doOpen(): UNA_ENCODER_ERR; override; |
|
function doSetConfig(config: pointer): UNA_ENCODER_ERR; override; |
|
function loadDLL(): int; virtual; |
|
function unloadDLL(): int; virtual; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure getVersion(); virtual; |
property version: PBE_VERSION read f_version; |
f_dllPathAndName: wString; |
|
f_version: PBE_VERSION; |
|
f_stream: HBE_STREAM; |
|
constructor create(const dllPathAndName: wString = ''; priority: integer = THREAD_PRIORITY_NORMAL); |
|
Creates Blade encoder API provider. |
function doClose(): UNA_ENCODER_ERR; override; |
|
Closes Blade encoder. |
function doEncode(data: pointer; nBytes: unsigned; out bytesUsed: unsigned): UNA_ENCODER_ERR; override; |
|
Encodes a chunk of data. |
function doOpen(): UNA_ENCODER_ERR; override; |
|
Opens Blade encoder. |
function doSetConfig(config: pointer): UNA_ENCODER_ERR; override; |
|
Configures Blade encoder. |
function loadDLL(): int; virtual; |
|
Loads Blade encoder DLL into process memory. |
function unloadDLL(): int; virtual; |
|
Unloads Blade encoder DLL from process memory. |
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure getVersion(); virtual; |
|
Returns version of loaded Blade encoder. |
property version: PBE_VERSION read f_version; |
|
Version of Blade encoder. |
(c) 2012 Lake of Soft