Structs§
- Quantized
LmChunk Decoder - Wasm
Encoded Payload - One encoded revolution at the BRS1 boundary: a shared codec/container
description plus only the bytes that vary per revolution (the headerless
codec payload body). Mirrors the
EncodedPayloadshape from the WASM headerless-ECDC contract.
Functions§
- init_
panic_ hook - player_
app_ build_ info_ json - wasm_
bcs2_ opus_ chunk_ cache_ keys_ json - wasm_
bump_ scratch_ remote_ control_ revision - wasm_
create_ player_ ecdc_ cache_ proof_ context_ json - wasm_
ecdc_ chunk_ layout_ from_ metadata - wasm_
ecdc_ crop_ decoded_ owned_ audio - Crop a guarded decode down to its owned audio: drops the left/right guard
samples the encoder padded each revolution with, leaving exactly the owned
(audible) samples. Mirrors
encodec_rs::wasm::ecdc_crop_decoded_owned_audioso the player worker can call it on the bitneedle-player module. - wasm_
ecdc_ frame_ ranges - wasm_
ecdc_ metadata - wasm_
ecdc_ standalone_ to_ payload - Split a standalone ECDC byte stream (one fixed-profile revolution block) into
the shared
PayloadDescriptorand the headerless codec payload bytes stored in the BRS1 groove. The ECDC outer header is lifted into the descriptor. - wasm_
ensure_ scratch_ remote_ control_ revision_ json - wasm_
get_ record_ rpm - wasm_
is_ valid_ scratch_ anon_ user_ id - wasm_
is_ valid_ scratch_ wallet_ address - wasm_
lm_ ecdc_ decode_ chunks - wasm_
normalize_ record_ profile_ name - wasm_
normalize_ record_ text_ field_ text - wasm_
normalize_ scratch_ display_ name - wasm_
normalize_ scratch_ remote_ control_ revision - wasm_
normalize_ scratch_ sample_ id - wasm_
payload_ to_ standalone_ ecdc - Reconstruct a decodable standalone ECDC byte stream from a
PayloadDescriptor(JSON) and the headerless codec payload bytes. Inverse ofwasm_ecdc_standalone_to_payload; lets the player feed the existing decode path without storing repeated ECDC headers in the groove. - wasm_
player_ ecdc_ cache_ proof_ for_ chunk_ json - wasm_
record_ display_ metadata_ json - wasm_
record_ playback_ metadata_ from_ header_ json - wasm_
record_ profile_ from_ header_ validation_ json - wasm_
record_ profile_ spec_ json - wasm_
record_ text_ from_ header_ validation_ json - wasm_
record_ verification_ meta_ json - wasm_
resolve_ clip_ revolutions_ json - wasm_
resolve_ deadwax_ duration_ seconds - wasm_
resolve_ deadwax_ turns - wasm_
resolve_ lead_ in_ duration_ seconds - wasm_
resolve_ lead_ in_ turns - wasm_
resolve_ physical_ rpm - wasm_
resolve_ playback_ payload_ metadata_ json - wasm_
resolve_ playback_ rate - wasm_
resolve_ record_ rpm - wasm_
resolve_ seconds_ per_ turn - wasm_
scratch_ anon_ user_ id_ from_ random - wasm_
scratch_ clip_ id_ for_ sample_ id - wasm_
scratch_ clip_ sample_ id_ json - wasm_
scratch_ display_ name_ key - wasm_
scratch_ sample_ token_ from_ bytes - wasm_
scratch_ sample_ token_ hex - wasm_
scratch_ visitor_ wallet_ address_ from_ bytes - wasm_
seconds_ to_ revolutions - wasm_
short_ scratch_ address - wasm_
should_ apply_ remote_ scratch_ controls_ json - wasm_
stable_ hash_ hex - wasm_
stable_ local_ record_ id_ from_ meta_ json - wasm_
validate_ shared_ payload_ descriptor - Verify that two
PayloadDescriptors (JSON) are identical across every field, so a record builder can confirm all revolutions share one descriptor before storing it once. Errors name the differing field.