mirror of
https://github.com/ratspeak/rsLXST
synced 2026-11-22 23:10:37 +00:00
build: finalize host compiler and protocol qualification
This commit is contained in:
1 parent
ae538650b9
commit
3e9f2ca8f3
3 files changed
+6
-6
No files matched your search
@@ -11,7 +11,7 @@ permissions:
|
||||
|
||||
env:
|
||||
RSLXST_RSRETICULUM_VERSION: 1.3.0
|
||||
RSLXST_RSRETICULUM_COMMIT: cac8151fd8207ada9775310fe2b3c9c7340a7ecd
|
||||
RSLXST_RSRETICULUM_COMMIT: 6bbac52ea0b09f743a5e934f7b0eec2617e083df
|
||||
RSLXST_PYTHON_LXST_COMMIT: 1194c9011fe6402edc7aebe7ffe9650ea3b1afee
|
||||
RSLXST_PYTHON_RNS_COMMIT: b48b96e61676504e0a4e527b33b9a0b4495c6872
|
||||
|
||||
|
||||
@@ -74,24 +74,24 @@ fn decode_samples(bytes: &[u8], bit_depth: RawBitDepth) -> Result<Vec<f32>, Erro
|
||||
let mut samples = Vec::with_capacity(bytes.len() / bytes_per_sample);
|
||||
match bit_depth {
|
||||
RawBitDepth::Float16 => {
|
||||
for chunk in bytes.chunks_exact(2) {
|
||||
for chunk in bytes.as_chunks::<2>().0 {
|
||||
samples.push(f16::from_le_bytes([chunk[0], chunk[1]]).to_f32());
|
||||
}
|
||||
}
|
||||
RawBitDepth::Float32 => {
|
||||
for chunk in bytes.chunks_exact(4) {
|
||||
for chunk in bytes.as_chunks::<4>().0 {
|
||||
samples.push(f32::from_le_bytes([chunk[0], chunk[1], chunk[2], chunk[3]]));
|
||||
}
|
||||
}
|
||||
RawBitDepth::Float64 => {
|
||||
for chunk in bytes.chunks_exact(8) {
|
||||
for chunk in bytes.as_chunks::<8>().0 {
|
||||
samples.push(f64::from_le_bytes([
|
||||
chunk[0], chunk[1], chunk[2], chunk[3], chunk[4], chunk[5], chunk[6], chunk[7],
|
||||
]) as f32);
|
||||
}
|
||||
}
|
||||
RawBitDepth::Float128 => {
|
||||
for chunk in bytes.chunks_exact(16) {
|
||||
for chunk in bytes.as_chunks::<16>().0 {
|
||||
samples.push(decode_float128_lossy(chunk));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ EXPECTED_PACKAGES = {"lxst-core", "lxst-codec2", "lxst-embedded", "lxst-rns", "l
|
||||
EXPECTED_MSRV = "1.89"
|
||||
EMBEDDED_MSRV = {"lxst-codec2": "1.87", "lxst-embedded": "1.87"}
|
||||
EXPECTED_RETICULUM_VERSION = "1.3.0"
|
||||
EXPECTED_RETICULUM_COMMIT = "cac8151fd8207ada9775310fe2b3c9c7340a7ecd"
|
||||
EXPECTED_RETICULUM_COMMIT = "6bbac52ea0b09f743a5e934f7b0eec2617e083df"
|
||||
EXPECTED_OPUS_DEPENDENCY = (
|
||||
'opus-rs = { version = "=0.1.29", default-features = false, '
|
||||
'features = ["heap"] }'
|
||||
|
||||
Reference in new issue
Block a user