add API for resetting allocated resamplers