Project

General

Profile

Previous Up Next

_AudioGsmEncode
Encode 8 bits data : see _AudioGsmDecode to decode it. The size of data to encode should be multiple of 160 bytes. Each 160 bytes sequence is encoded into either 1 byte (no sound) or 34 bytes (normal sound).

S _AudioGsmEncode (
S _data_
GsmCodec _codec_
)
Parameters

_data_
8-bits data to encode
_codec_
audio codec
Return value

encoded data