Fix crash on windows

This commit is contained in:
Mashintime 2023-11-13 08:19:48 -05:00
parent a272b6fc2c
commit 3aaf28cb3b

View file

@ -998,8 +998,8 @@ class RF:
# set tuning range
codec2.api.freedv_set_tuning_range(
c2instance,
ctypes.c_float(self.tuning_range_fmin),
ctypes.c_float(self.tuning_range_fmax),
ctypes.c_float(float(self.tuning_range_fmin)),
ctypes.c_float(float(self.tuning_range_fmax)),
)
# get bytes per frame