mirror of
https://github.com/google/liblc3.git
synced 2026-04-25 16:44:50 +00:00
feature: Add High-Resolution LC3 plus mode
Duplicate interfaces for HR mode spec: Remove intermediate quantized table fix: legacy lc3_frame_bytes() and lc3_resolve_bitrate() Cosmetic: rename fast_xxx math function to lc3_xxx
This commit is contained in:
@@ -31,8 +31,8 @@ static PyObject *bwdet_run_py(PyObject *m, PyObject *args)
|
||||
if (!PyArg_ParseTuple(args, "IIO", &dt, &sr, &e_obj))
|
||||
return NULL;
|
||||
|
||||
CTYPES_CHECK("dt", (unsigned)dt < LC3_NUM_DT);
|
||||
CTYPES_CHECK("sr", (unsigned)sr < LC3_NUM_SRATE);
|
||||
CTYPES_CHECK("dt", dt < LC3_NUM_DT);
|
||||
CTYPES_CHECK("sr", sr < LC3_NUM_SRATE);
|
||||
CTYPES_CHECK("e", to_1d_ptr(e_obj, NPY_FLOAT, LC3_MAX_BANDS, &e));
|
||||
|
||||
int bw = lc3_bwdet_run(dt, sr, e);
|
||||
|
||||
Reference in New Issue
Block a user