Package codecs
codec-pipeline #sleela 2.5 (lib/codecs/codec-pipeline.sleela)
Verifier class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
resolveExtension | int resolveExtension(String ext) | No description in source. |
probeMagic | int probeMagic(String tag) | No description in source. |
resultText | String resultText(int code) | No description in source. |
Processor class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
decode | int decode(boolean loaded, boolean nativeCodec, boolean backendReady) | No description in source. |
encode | int encode(boolean loaded, boolean nativeCodec, boolean backendReady) | No description in source. |
Controller class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
loaded | int[] loaded | No description in source. |
backend | int[] backend | No description in source. |
verifier | Verifier verifier | wired by create(), called via the field (1.11) |
processor | Processor processor | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
create | void create() | No description in source. |
count | int count() | No description in source. |
isNative | boolean isNative(int id) | No description in source. |
nameOf | String nameOf(int id) | No description in source. |
load | int load(int id) | No description in source. |
isLoaded | boolean isLoaded(int id) | No description in source. |
unloadAll | void unloadAll() | No description in source. |
registerBackend | int registerBackend(int id) | No description in source. |
hasBackend | boolean hasBackend(int id) | No description in source. |
loadedCount | int loadedCount() | No description in source. |
resolveExtension | int resolveExtension(String ext) | Clean facade methods: delegate to the wired collaborators. |
probeMagic | int probeMagic(String tag) | No description in source. |
resultText | String resultText(int code) | No description in source. |
decode | int decode(int id) | No description in source. |
encode | int encode(int id) | No description in source. |
main | void main() | No description in source. |
codecs #sleela 2.5 (lib/codecs/codecs.sleela)
Codecs class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
loaded | int[] loaded | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
count | int count() | No description in source. |
init | void init() | No description in source. |
isLoaded | boolean isLoaded(int id) | No description in source. |
load | void load(int id) | No description in source. |
unload | void unload(int id) | No description in source. |
unloadAll | void unloadAll() | No description in source. |
isNative | boolean isNative(int id) | No description in source. |
nameOf | String nameOf(int id) | No description in source. |
stateWord | String stateWord(int id) | No description in source. |
report | void report(int id) | No description in source. |
main | void main() | No description in source. |
SLCodecAac #sleela 2.5 (lib/codecs/SLCodecAac.sleela)
SLCodecAac class
AAC codec class — the SLeeLa-facing handle to codec id 5.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecAc3 #sleela 2.5 (lib/codecs/SLCodecAc3.sleela)
SLCodecAc3 class
Dolby Digital AC-3 codec class — the SLeeLa-facing handle to codec id 11.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecAiff #sleela 2.5 (lib/codecs/SLCodecAiff.sleela)
SLCodecAiff class
AIFF codec class — the SLeeLa-facing handle to codec id 1.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 0 == native. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecAlac #sleela 2.5 (lib/codecs/SLCodecAlac.sleela)
SLCodecAlac class
ALAC codec class — the SLeeLa-facing handle to codec id 3.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecAmrNb #sleela 2.5 (lib/codecs/SLCodecAmrNb.sleela)
SLCodecAmrNb class
AMR-NB codec class — the SLeeLa-facing handle to codec id 13.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecAmrWb #sleela 2.5 (lib/codecs/SLCodecAmrWb.sleela)
SLCodecAmrWb class
AMR-WB codec class — the SLeeLa-facing handle to codec id 14.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecController #sleela 2.5 (lib/codecs/SLCodecController.sleela)
SLCodecController class extends SLPluginService
Defines the SLeeLa standard-library type SLCodecController used within the codecs library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
verifier | SLCodecVerifier verifier | The verification collaborator, wired by create() and called via the field. (The loaded/backend lifecycle tables and the ready flag are inherited from SLPluginService; only the codec-specific Verifier lives here.) |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
create | void create() | Build the controller with every codec registered but none loaded. Mirrors sleela_codec_manager_create. configure() (inherited) allocates the 20-entry lifecycle tables and records the native-id mask; then wire the Verifier. Native codecs encode/decode in-package: PCM/WAV (0), AIFF (1), G.711 mu-law (15), G.711 A-law (16) -> mask bits 0,1,15,16. |
nativeMaskForCodecs | int nativeMaskForCodecs() | The native-id bit mask for codecs: bits 0, 1, 15, 16 set. |
resolveExtension | int resolveExtension(String extension) | Resolve a codec id from a file extension via the Controller's Verifier. |
decode | int decode(int id) | decode(id) / encode(id): a codec's domain operations. Both are gated by the shared dispatchCode(): -2 invalid, -5 not loaded, -1 backend absent, 0 ok. |
encode | int encode(int id) | No description in source. |
serviceName | String serviceName() | ---- identity + result text ----------------------------------------- |
resultText | String resultText(int code) | Human-readable text for a result code (via the wired Verifier, which uses the shared SLServiceResult vocabulary). |
SLCodecEac3 #sleela 2.5 (lib/codecs/SLCodecEac3.sleela)
SLCodecEac3 class
Dolby Digital Plus codec class — the SLeeLa-facing handle to codec id 12.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecFlac #sleela 2.5 (lib/codecs/SLCodecFlac.sleela)
SLCodecFlac class
FLAC codec class — the SLeeLa-facing handle to codec id 2.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecG711Alaw #sleela 2.5 (lib/codecs/SLCodecG711Alaw.sleela)
SLCodecG711Alaw class
G.711 A-law codec class — the SLeeLa-facing handle to codec id 16.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 0 == native. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecG711Mulaw #sleela 2.5 (lib/codecs/SLCodecG711Mulaw.sleela)
SLCodecG711Mulaw class
G.711 mu-law codec class — the SLeeLa-facing handle to codec id 15.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 0 == native. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecHeAac #sleela 2.5 (lib/codecs/SLCodecHeAac.sleela)
SLCodecHeAac class
HE-AAC codec class — the SLeeLa-facing handle to codec id 6.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecLoader #sleela 2.5 (lib/codecs/SLCodecLoader.sleela)
SLCodecLoader class
Defines the SLeeLa standard-library type SLCodecLoader used within the codecs library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
loaded | int[] loaded | Per-codec loaded flag (1 loaded, 0 not), indexed by codec id. Backed by the first-class array type; call init() before use. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
codecCount | int codecCount() | The number of codecs the native manager knows (SLEELA_CODEC_COUNT). |
init | void init() | Allocate the loaded-flag table with every codec unloaded. |
load | void load(int id) | load(id): mark a codec loaded. Mirrors sleela_codec_manager_load. |
unload | void unload(int id) | unload(id): mark a codec unloaded. Mirrors sleela_codec_manager_unload. |
isLoaded | boolean isLoaded(int id) | No description in source. |
unloadAll | void unloadAll() | unloadAll(): release every loaded codec. Mirrors sleela_codec_manager_unload_all. |
nameOf | String nameOf(int id) | Human-readable codec name by id, matching the native registry. |
isNative | boolean isNative(int id) | Native codecs implement encode/decode in-package (no external backend): PCM/WAV (0), AIFF (1), G.711 mu-law (15), G.711 A-law (16). The rest are backend handlers until an approved library adapter is registered. |
SLCodecMatroskaAudio #sleela 2.5 (lib/codecs/SLCodecMatroskaAudio.sleela)
SLCodecMatroskaAudio class
Matroska Audio codec class — the SLeeLa-facing handle to codec id 18.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 3 == container. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecMidi #sleela 2.5 (lib/codecs/SLCodecMidi.sleela)
SLCodecMidi class
MIDI codec class — the SLeeLa-facing handle to codec id 17.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 4 == event. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecMp3 #sleela 2.5 (lib/codecs/SLCodecMp3.sleela)
SLCodecMp3 class
MPEG Layer III codec class — the SLeeLa-facing handle to codec id 4.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecOpus #sleela 2.5 (lib/codecs/SLCodecOpus.sleela)
SLCodecOpus class
Opus codec class — the SLeeLa-facing handle to codec id 8.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecPcmWav #sleela 2.5 (lib/codecs/SLCodecPcmWav.sleela)
SLCodecPcmWav class
PCM/WAV codec class — the SLeeLa-facing handle to codec id 0.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 0 == native (encode/decode live in-package). |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend). |
needsBackend | boolean needsBackend() | A backend adapter must be registered before this codec can decode/encode. |
SLCodecProcessor #sleela 2.5 (lib/codecs/SLCodecProcessor.sleela)
SLCodecProcessor class
Defines the SLeeLa standard-library type SLCodecProcessor used within the codecs library family.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
canProcess | boolean canProcess(boolean loaded, boolean nativeCodec, boolean backendReady) | canProcess: can this codec encode/decode right now, given the facts? True for a loaded native codec, or a loaded backend codec with a backend registered — what a GUI checks before enabling a convert action. |
decode | int decode(boolean loaded, boolean nativeCodec, boolean backendReady) | decode: dispatch a decode against the given facts. Returns a result code: -5 not loaded, 0 ok (native or backend ready), -1 backend absent. |
encode | int encode(boolean loaded, boolean nativeCodec, boolean backendReady) | encode: same result-code contract as decode. |
SLCodecSpeex #sleela 2.5 (lib/codecs/SLCodecSpeex.sleela)
SLCodecSpeex class
Speex codec class — the SLeeLa-facing handle to codec id 9.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecVerifier #sleela 2.5 (lib/codecs/SLCodecVerifier.sleela)
SLCodecVerifier class
Defines the SLeeLa standard-library type SLCodecVerifier used within the codecs library family.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
resolveExtension | int resolveExtension(String ext) | ---- extension resolution (mirrors sleela_codec_by_extension) ------- Returns the codec id for a known extension, or -1 if unrecognized. Extensions are taken verbatim from each codec's registry metadata. |
probeMagic | int probeMagic(String tag) | ---- content-signature probe (mirrors each plugin's probe()) -------- Given a short leading-byte signature tag (as text, e.g. "RIFF", "fLaC", "MThd", "OggS", "FORM", "1A45DFA3" for EBML), return the codec id that claims it, or -1. This is the SLeeLa expression of the native byte probe: the actual byte comparison lives in the native plugin; here the Verifier encodes which magic belongs to which codec so a GUI can pre-classify. |
headerless | boolean headerless(int id) | headerless(id): true for codecs with no reliable magic (G.711 telephony), where probing by content cannot confirm the format — the caller must know the format out-of-band. Mirrors the mu-law/A-law probe comment. |
verifyLoadable | int verifyLoadable(int id) | ---- loadability / lifecycle verification --------------------------- verifyLoadable(id): 0 if the id is a real codec that can be loaded, else -2 (invalid). Mirrors the manager's id_ok guard. |
resultText | String resultText(int code) | ---- result-code text (mirrors sleela_codec_result_text) ------------ |
ok | boolean ok(int code) | No description in source. |
SLCodecVorbis #sleela 2.5 (lib/codecs/SLCodecVorbis.sleela)
SLCodecVorbis class
Ogg Vorbis codec class — the SLeeLa-facing handle to codec id 7.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecWebmAudio #sleela 2.5 (lib/codecs/SLCodecWebmAudio.sleela)
SLCodecWebmAudio class
WebM Audio codec class — the SLeeLa-facing handle to codec id 19.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 3 == container. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLCodecWma #sleela 2.5 (lib/codecs/SLCodecWma.sleela)
SLCodecWma class
Windows Media Audio codec class — the SLeeLa-facing handle to codec id 10.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
id | int id() | Registry identity (mirrors sleela_codec_handler). |
name | String name() | No description in source. |
mime | String mime() | No description in source. |
extensions | String extensions() | No description in source. |
state | int state() | Capability state: 1 == backend. |
stateName | String stateName() | No description in source. |
canDecode | boolean canDecode() | Direction support advertised by the plugin vtable. |
canEncode | boolean canEncode() | No description in source. |
isNative | boolean isNative() | Native codecs implement encode/decode in-package (no external backend); a backend codec reports its honest state and fails cleanly from decode/encode until an approved backend adapter is registered. |
needsBackend | boolean needsBackend() | No description in source. |
SLPackage #sleela 2.5 (lib/codecs/SLPackage.sleela)
SLPackage class
Defines the SLeeLa standard-library package for codecs.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
packageName | String packageName | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name) | No description in source. |
name | String name() | No description in source. |
available | boolean available() | No description in source. |