D | asrc_resampler_test.py | 29 def __init__(self, lib, channels, bitdepth): argument 31 self.lib = lib 54 …lib.resample_i16(c_int(channels), c_int(bitdepth), c_double(ratio), xs_int.ctypes.data_as(c_int16_… 57 …lib.resample_i32(c_int(channels), c_int(bitdepth), c_double(ratio), xs_int.ctypes.data_as(c_int32_… 96 lib = ctypes.cdll.LoadLibrary(os.path.join(root, "libasrc_resampler_test.so")) variable 98 cresampler_16 = CResampler(lib, 1, 16) 99 cresampler_24 = CResampler(lib, 1, 24)
|