mirror of
https://github.com/google/liblc3.git
synced 2026-04-22 15:44:49 +00:00
Improvement: LTPF now work on decoded ring buffer
This commit is contained in:
@@ -102,7 +102,7 @@ static PyObject *synthesize_py(PyObject *m, PyObject *args)
|
||||
CTYPES_CHECK("x", x_obj = to_1d_ptr(x_obj, NPY_FLOAT, nd+ns, &x));
|
||||
|
||||
lc3_ltpf_synthesize(dt, sr, nbytes,
|
||||
<pf, pitch_present ? &data : NULL, x+nd);
|
||||
<pf, pitch_present ? &data : NULL, x, x + nd);
|
||||
|
||||
from_ltpf_synthesis(ltpf_obj, <pf);
|
||||
return Py_BuildValue("O", x_obj);
|
||||
|
||||
Reference in New Issue
Block a user