mirror of
https://github.com/google/liblc3.git
synced 2026-04-28 17:54:49 +00:00
feature: Add 2.5 ms and 5 ms LC3 plus frame durations
fix: Check TNS bitstream data fix: LTPF Activation with 2.5 ms frame sizes
This commit is contained in:
committed by
Antoine Soulier
parent
a75f187e00
commit
149cb6537e
@@ -38,7 +38,7 @@ static PyObject *resample_py(PyObject *m, PyObject *args)
|
||||
|
||||
int ns = LC3_NS(dt, sr), nt = LC3_NT(dt);
|
||||
int ny = sizeof((struct lc3_ltpf_analysis){ }.x_12k8) / sizeof(int16_t);
|
||||
int n = dt == LC3_DT_7M5 ? 96 : 128;
|
||||
int n = (1 + dt) * 32;
|
||||
|
||||
CTYPES_CHECK("x", x_obj = to_1d_ptr(x_obj, NPY_INT16, ns+nt, &x));
|
||||
CTYPES_CHECK("y", y_obj = to_1d_ptr(y_obj, NPY_INT16, ny, &y));
|
||||
|
||||
Reference in New Issue
Block a user