mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Disable filtering for pitch shifting on sounds by design.
This commit is contained in:
+1
-1
@@ -84434,7 +84434,7 @@ MA_API ma_sound_config ma_sound_config_init(ma_engine* pEngine)
|
||||
config.monoExpansionMode = ma_mono_expansion_mode_default;
|
||||
|
||||
config.pitchResampling = ma_resampler_config_init(ma_format_f32, 0, 0, 0, ma_resample_algorithm_linear);
|
||||
config.pitchResampling.linear.lpfOrder = 0; /* <-- Need to disable low-pass filtering for pitch shifting for now because there's cases where the biquads are becoming unstable. Need to figure out a better fix for this. */
|
||||
config.pitchResampling.linear.lpfOrder = 0; /* <-- Pitch shifting does not need filtering by default. Might make this configurable later on if I can be sold on it. */
|
||||
}
|
||||
|
||||
config.rangeEndInPCMFrames = ~((ma_uint64)0);
|
||||
|
||||
Reference in New Issue
Block a user