Searched refs:active (Results 1 – 5 of 5) sorted by relevance
/liblc3-latest/src/ |
D | ltpf.c | 717 if (ltpf->active) { in lc3_ltpf_analyse() 722 data->active = !lc3_hr(sr) && pitch_present && in lc3_ltpf_analyse() 726 data->active = !lc3_hr(sr) && pitch_present && in lc3_ltpf_analyse() 731 ltpf->active = data->active; in lc3_ltpf_analyse() 878 bool active = data && data->active && g_idx < 4; in lc3_ltpf_synthesize() local 884 float g = active ? 0.4f - 0.05f * g_idx : 0; in lc3_ltpf_synthesize() 898 if (active) in lc3_ltpf_synthesize() 901 if (!ltpf->active && active) in lc3_ltpf_synthesize() 903 else if (ltpf->active && !active) in lc3_ltpf_synthesize() 905 else if (ltpf->active && active && ltpf->pitch == pitch) in lc3_ltpf_synthesize() [all …]
|
D | ltpf.h | 31 bool active; member
|
/liblc3-latest/test/ |
D | ltpf.py | 149 self.active = False 156 return { 'active' : self.active, 259 if not self.active: 260 active = (self.dt == T.DT_10M or self.nc[1] > 0.94) \ 266 active = nc > 0.9 or (dp < 2 and dc > -0.1 and nc > 0.84) 269 active = False 273 self.active = active 282 self.active = False 286 b.write_uint(self.active, 1) 307 self.active = [ False, False ] [all …]
|
D | ctypes.h | 276 PyDict_GetItemString(obj, "active"), NPY_BOOL, <pf->active)); in to_ltpf_analysis() 312 new_scalar(NPY_BOOL, <pf->active)); in from_ltpf_analysis() 344 PyDict_GetItemString(obj, "active"), NPY_BOOL, <pf->active)); in to_ltpf_synthesis() 367 new_scalar(NPY_BOOL, <pf->active)); in from_ltpf_synthesis() 387 new_scalar(NPY_BOOL, &data->active)); in new_ltpf_data() 405 to_scalar(item, NPY_BOOL, &data->active)); in to_ltpf_data()
|
/liblc3-latest/include/ |
D | lc3_private.h | 100 bool active; member 143 bool active; member
|