mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-30 12:25:49 +00:00
Create, CreateEx, Destroy, GetSize and Initialize follow the firmware 13.42 export measurements reported on the pull request: bases 0x813F0000 and 0x81770000, the pointer validated first (+0x01), then sample rate (+0x10/+0x0F), channels (+0x0D/+0x0C) and application (+0x11/+0x10), the required caller application 2051 for CELT and 2048 for SILK, the 0x17B2 state marker at +0xCC/+0xE8 behind Destroy (+0x16/+0x15) and fixed 728/752-byte GetSize values; a successful create zero-fills the console state size. The internal encoder keeps the restricted celt and silk applications whose packet identity the tests compare, float included. The tests declare entry points through the libraries' Api.hpp instead of local prototypes, cast states to the opaque encoder types, drop the silk ctl/cancel/priority/timeout and live-encoder Terminate throw pins and compare both float sections against opus_encode_float. Ctl, Encode*WithPriority and the silk cancel and timeout entry points keep their throwing stubs, and the debt notes carry the measurement with the remaining gaps.