Home Units Hierarchy Routines All identifiers

Class unaBladeMp3Enc

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaBladeMp3Enc = class(unaAbstractEncoder)

Description

Provides access to Blade MP3 encoder. Requires Blade library DLL (BladeEnc.dll)

http://bladeenc.mp3.no/

Hierarchy

Overview

Fields

Protected f_dllPathAndName: wString;
Protected f_version: PBE_VERSION;
Protected f_stream: HBE_STREAM;

Methods

Public constructor create(const dllPathAndName: wString = ''; priority: integer = THREAD_PRIORITY_NORMAL);
Protected function doClose(): UNA_ENCODER_ERR; override;
Protected function doEncode(data: pointer; nBytes: unsigned; out bytesUsed: unsigned): UNA_ENCODER_ERR; override;
Protected function doOpen(): UNA_ENCODER_ERR; override;
Protected function doSetConfig(config: pointer): UNA_ENCODER_ERR; override;
Protected function loadDLL(): int; virtual;
Protected function unloadDLL(): int; virtual;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;
Protected procedure getVersion(); virtual;

Properties

Public property version: PBE_VERSION read f_version;

Description

Fields

Protected f_dllPathAndName: wString;
 
Protected f_version: PBE_VERSION;
 
Protected f_stream: HBE_STREAM;
 

Methods

Public constructor create(const dllPathAndName: wString = ''; priority: integer = THREAD_PRIORITY_NORMAL);

Creates Blade encoder API provider.

Protected function doClose(): UNA_ENCODER_ERR; override;

Closes Blade encoder.

Protected function doEncode(data: pointer; nBytes: unsigned; out bytesUsed: unsigned): UNA_ENCODER_ERR; override;

Encodes a chunk of data.

Protected function doOpen(): UNA_ENCODER_ERR; override;

Opens Blade encoder.

Protected function doSetConfig(config: pointer): UNA_ENCODER_ERR; override;

Configures Blade encoder.

Protected function loadDLL(): int; virtual;

Loads Blade encoder DLL into process memory.

Protected function unloadDLL(): int; virtual;

Unloads Blade encoder DLL from process memory.

Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Protected procedure getVersion(); virtual;

Returns version of loaded Blade encoder.

Properties

Public property version: PBE_VERSION read f_version;

Version of Blade encoder.

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09