mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 00:34:03 +02:00
Update data converter to use the default LPF order for resampling.
This ensures the data converter has the same defaults as the resampler so things work a bit more consistently.
This commit is contained in:
+1
-1
@@ -53901,7 +53901,7 @@ MA_API ma_data_converter_config ma_data_converter_config_init_default(void)
|
||||
config.allowDynamicSampleRate = MA_FALSE; /* Disable dynamic sample rates by default because dynamic rate adjustments should be quite rare and it allows an optimization for cases when the in and out sample rates are the same. */
|
||||
|
||||
/* Linear resampling defaults. */
|
||||
config.resampling.linear.lpfOrder = 1;
|
||||
config.resampling.linear.lpfOrder = ma_min(MA_DEFAULT_RESAMPLER_LPF_ORDER, MA_MAX_FILTER_ORDER);
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user