Home Units Hierarchy Routines All identifiers

Unit unaEncoderAPI

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Contains library API and wrapper classes for Blade/Lame MP3 encoders, Vorbis/Ogg libraries, BASS library and OpenH323 plugin model.

2.5.2008.07 Still here

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class unaAbstractEncoder Base abstract class for stream encoder/decoder.
Class unaBass Provides interface for BASS.
Class unaBassChannel Provides interface for BASS channel support.
Class unaBassConsumer  
Class unaBassDecoder Decoder based on BASS library

http://www.un4seen.com/

Class unaBassMusic Provides interface for BASS module music support.
Class unaBassSample Provides interface for BASS sample support.
Class unaBassStream Provides interface for BASS stream support.
Class unaBassStreamDecoder – –
Class unaBladeMp3Enc Provides access to Blade MP3 encoder.
Class unaLameMp3Enc Provides access to Lame MP3 encoder.
Class una_openH323plugin Codec based on OpenH323 plugin model.

Types

UNA_ENCODER_ERR = int;
tUnaEncoderDataAvailableEvent = procedure (sender: tObject; data: pointer; size: unsigned; var copyToStream: bool) of object;
unaBassDSPCallbackEvent = procedure(sender: tobject; channel: DWORD; data: pointer; len: unsigned) of object;
tUnaBassApplySampling = procedure(sender: tObject; rate, bits, channels: unsigned) of object;
tUnaBassDataAvailable = procedure(sender: tObject; data: pointer; size: unsigned) of object;
popenH323pluginCodecs = ˆopenH323pluginCodecs;
openH323pluginCodecs = array[word] of pluginCodec_definition;

Constants

BASS_ERROR_NOLIBRARY = BASS_ERROR_UNKNOWN - 1;
c_openH323plugin_libraryName_ADPCM = 'IMA_ADPCM_pwplugin.dll';
c_openH323plugin_libraryName_g726 = 'g726codec_pwplugin.dll';
c_openH323plugin_libraryName_GSM610 = 'gsm0610_pwplugin.dll';
c_openH323plugin_libraryName_iLBC = 'ilbccodec_pwplugin.dll';
c_openH323plugin_libraryName_LPC = 'LPC_10_pwplugin.dll';
c_openH323plugin_libraryName_speeX = 'speexcodec_pwplugin.dll';
UNA_ENCODER_ERR_CONFIG_REQUIRED = $10000004;
UNA_ENCODER_ERR_FEED_MORE_DATA = $10000005;
UNA_ENCODER_ERR_NOT_SUPPORTED = $10000003;

Description

Types

UNA_ENCODER_ERR = int;

not an error

tUnaEncoderDataAvailableEvent = procedure (sender: tObject; data: pointer; size: unsigned; var copyToStream: bool) of object;

Class event for data availabitity notification.

unaBassDSPCallbackEvent = procedure(sender: tobject; channel: DWORD; data: pointer; len: unsigned) of object;
 
tUnaBassApplySampling = procedure(sender: tObject; rate, bits, channels: unsigned) of object;
 
tUnaBassDataAvailable = procedure(sender: tObject; data: pointer; size: unsigned) of object;
 
popenH323pluginCodecs = ˆopenH323pluginCodecs;

====================== Open H.323 plugins support ==================

openH323pluginCodecs = array[word] of pluginCodec_definition;
 

Constants

BASS_ERROR_NOLIBRARY = BASS_ERROR_UNKNOWN - 1;

================== BASS LIBRARY WITH MP3 DECODER ====================== error codes

c_openH323plugin_libraryName_ADPCM = 'IMA_ADPCM_pwplugin.dll';
 
c_openH323plugin_libraryName_g726 = 'g726codec_pwplugin.dll';

====================== some well-known open H.323 plugin libraries ==================

c_openH323plugin_libraryName_GSM610 = 'gsm0610_pwplugin.dll';
 
c_openH323plugin_libraryName_iLBC = 'ilbccodec_pwplugin.dll';
 
c_openH323plugin_libraryName_LPC = 'LPC_10_pwplugin.dll';
 
c_openH323plugin_libraryName_speeX = 'speexcodec_pwplugin.dll';
 
UNA_ENCODER_ERR_CONFIG_REQUIRED = $10000004;
 
UNA_ENCODER_ERR_FEED_MORE_DATA = $10000005;
 
UNA_ENCODER_ERR_NOT_SUPPORTED = $10000003;

============= una errors ========================

Author

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09