mirror of
https://github.com/google/liblc3.git
synced 2026-05-28 05:55:31 +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
@@ -40,7 +40,7 @@ static PyObject *energy_compute_py(PyObject *m, PyObject *args)
|
||||
int ns = LC3_NS(dt, sr);
|
||||
|
||||
CTYPES_CHECK("x", to_1d_ptr(x_obj, NPY_FLOAT, ns, &x));
|
||||
e_obj = new_1d_ptr(NPY_FLOAT, LC3_NUM_BANDS, &e);
|
||||
e_obj = new_1d_ptr(NPY_FLOAT, lc3_num_bands[dt][sr], &e);
|
||||
|
||||
int nn_flag = lc3_energy_compute(dt, sr, x, e);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user