<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reset(self):
 """Reset state."""

        from samplerate.lowlevel import src_reset
        if self._state is None:
            self._create()
        src_reset(self._state)