def _create(self):
from samplerate.lowlevel import ffi, src_callback_new, src_delete<EOL>from samplerate.exceptions import ResamplingError<EOL>state, handle, error = src_callback_new(<EOL>self._callback, self._converter_type.value, self._channels)<EOL>if error != <NUM_LIT:0>:<EOL><INDENT>raise ResamplingError(error)<EOL><DEDENT>self._state = ffi.gc(state, src_delete)<EOL>self._handle = handle<EOL>
Create new callback resampler.