make it possible for the driver to switch resampling on and off dynamically. this will be needed for the OSS driver.