Change the sample configuration.