api: record bounded Codec2 backend contract

This commit is contained in:
DeFiDude committed 2026-10-01 13:28:52 -06:00
1 parent d65e26bf57
commit f55a969161
2 files changed
+21 -4

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
pub mod lxst_codec2
pub enum lxst_codec2::Error
pub lxst_codec2::Error::EncodedLength
pub lxst_codec2::Error::PcmLength
pub enum lxst_codec2::Mode
pub lxst_codec2::Mode::Rate1600
pub lxst_codec2::Mode::Rate3200
impl lxst_codec2::Mode
pub const fn lxst_codec2::Mode::bytes(self) -> usize
pub const fn lxst_codec2::Mode::samples(self) -> usize
pub struct lxst_codec2::Codec
impl lxst_codec2::Codec
pub fn lxst_codec2::Codec::decode(&mut self, &[u8], &mut [i16]) -> core::result::Result<(), lxst_codec2::Error>
pub fn lxst_codec2::Codec::encode(&mut self, &[i16], &mut [u8]) -> core::result::Result<(), lxst_codec2::Error>
pub fn lxst_codec2::Codec::initialise(&mut core::mem::maybe_uninit::MaybeUninit<Self>, lxst_codec2::Mode) -> &mut Self
pub fn lxst_codec2::Codec::mode(&self) -> lxst_codec2::Mode
pub fn lxst_codec2::Codec::reset(&mut self, lxst_codec2::Mode)
+4 -4
View File
@@ -19,7 +19,7 @@
"sourceCommit": "af89a03094605dbdf7264d06fdc546526ec6980b"
},
"snapshotSource": {
"commit": "719ec1edb62458149a96222d3249e8dd4c3abedc",
"commit": "d65e26bf57d6cfda6c20ff8d5379e8d313979b4c",
"capturedOn": "2026-10-01",
"review": {
"areas": [
@@ -42,7 +42,7 @@
],
"classification": "additive experimental native Codec2 backend and packet boundary; no automatic telephony activation",
"publicApiDiff": {
"added": 33,
"added": 50,
"removed": 0
},
"semver": "additive experimental API in the unreleased 0.2 line; no existing signatures removed or changed",
@@ -69,8 +69,8 @@
"tier": "experimental",
"compatibility": "reviewed-snapshot",
"snapshot": "api/snapshots/lxst-codec2.txt",
"itemCount": 0,
"sha256": "0000000000000000000000000000000000000000000000000000000000000000"
"itemCount": 17,
"sha256": "2f44f014e8789d1a96abed0000abf6f31f43fef34f54fcf59f28aa6a0fc8e5d1"
},
{
"name": "lxst-core",