Adjust the fs and buffer