Set the default oversampling amount to 2x
Oversampling is not always needed, so this is probably a better default.
This commit is contained in:
parent
913aa4bef9
commit
d3f820dc8c
|
@ -33,8 +33,8 @@ const MAX_OVERSAMPLING_FACTOR: usize = 4;
|
|||
const MAX_OVERSAMPLING_TIMES: usize = oversampling_factor_to_times(MAX_OVERSAMPLING_FACTOR);
|
||||
const MAX_OVERSAMPLED_BLOCK_SIZE: usize = MAX_BLOCK_SIZE * MAX_OVERSAMPLING_TIMES;
|
||||
|
||||
/// This corresponds to 4x oversampling.
|
||||
const DEFAULT_OVERSAMPLING_FACTOR: usize = 2;
|
||||
/// This corresponds to 2x oversampling.
|
||||
const DEFAULT_OVERSAMPLING_FACTOR: usize = 1;
|
||||
|
||||
struct SoftVacuum {
|
||||
params: Arc<SoftVacuumParams>,
|
||||
|
|
Loading…
Reference in a new issue