Home Units Hierarchy Routines All identifiers

Class unaSpeexDecoder

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaSpeexDecoder = class(unaSpeexCoder)

Description

Speex Decoder

Hierarchy

Overview

Methods

Public function decode(bitstream: pointer; size: int): int;
Protected function doGetFrameSize(): int; override;
Protected function doGetSamplingRate(): int; override;
Protected function doInit(): pointer; override;
Protected procedure decoder_write_int(samples: pointer; size: int); virtual;
Protected procedure doClose(); override;
Protected procedure doOpen(); override;

Description

Methods

Public function decode(bitstream: pointer; size: int): int;

Sends full encoded frame(s) to decoder.

Return number of bytes consumed by decoder or -1 in case of some error.

Protected function doGetFrameSize(): int; override;
 
Protected function doGetSamplingRate(): int; override;
 
Protected function doInit(): pointer; override;
 
Protected procedure decoder_write_int(samples: pointer; size: int); virtual;

Called when new block of decoded data is available.

Protected procedure doClose(); override;
 
Protected procedure doOpen(); override;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09