lavr: define ResampleContext in resample.h