[Scummvm-git-logs] scummvm master -> 06b0462bef33726a4cfe144213ca3ebc0d9d3471
aquadran
noreply at scummvm.org
Wed Jul 23 17:14:25 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
06b0462bef AUDIO: Support 192khz samples in rate conversion.
Commit: 06b0462bef33726a4cfe144213ca3ebc0d9d3471
https://github.com/scummvm/scummvm/commit/06b0462bef33726a4cfe144213ca3ebc0d9d3471
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-07-23T19:14:22+02:00
Commit Message:
AUDIO: Support 192khz samples in rate conversion.
Wintermute engine game 'Reversion 3' has 192khz mono voice samples.
To support that, interpolation rate conversion code needs to be updated.
Fraction point is shifted by one in fixed point value.
Changed paths:
audio/rate.cpp
diff --git a/audio/rate.cpp b/audio/rate.cpp
index c1007a09912..7f0c50f9250 100644
--- a/audio/rate.cpp
+++ b/audio/rate.cpp
@@ -37,10 +37,10 @@ namespace Audio {
/**
* The default fractional type in frac.h (with 16 fractional bits) limits
* the rate conversion code to 65536Hz audio: we need to able to handle
- * 96kHz audio, so we use fewer fractional bits in this code.
+ * 192kHz audio, so we use fewer fractional bits in this code.
*/
enum {
- FRAC_BITS_LOW = 15,
+ FRAC_BITS_LOW = 14,
FRAC_ONE_LOW = (1L << FRAC_BITS_LOW),
FRAC_HALF_LOW = (1L << (FRAC_BITS_LOW-1))
};
More information about the Scummvm-git-logs
mailing list