Description | Hierarchy | Fields | Methods | Properties |
type unaLibCELTencoder = class(unaLibCELTcoder)
libcelt encoder.
function encode(pcm: pointer; len: int): int; |
|
function doIOCTL(req: int; var value: int32): int; override; |
|
function doOpen(): int; override; |
|
function write(data: pointer; len: int): int; |
|
procedure doClose(); override; |
property bitrate: int read f_bitrate write setBitrate; |
function encode(pcm: pointer; len: int): int; |
|
Encodes a frame of audio. Data will be notified via doDataAvail()/onDataAvail.
Parameters
ReturnsError code. |
function doIOCTL(req: int; var value: int32): int; override; |
|
function doOpen(): int; override; |
|
function write(data: pointer; len: int): int; |
|
Fills sub-buffer with data. Returnsnumber of bytes consumed by encoder on this call. |
procedure doClose(); override; |
|
property bitrate: int read f_bitrate write setBitrate; |
|
Desired bitrate, in kbps (24-120 for mono, 40-160 for stereo). |
(c) 2012 Lake of Soft