[Scummvm-git-logs] scummvm master -> 3eb6f98e6f103fc64823e180486b868d3ba7dd19
digitall
noreply at scummvm.org
Fri Sep 16 05:23:35 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3eb6f98e6f AUDIO: MT32: Restore Fix For Internal Sample Rate Converter Code
Commit: 3eb6f98e6f103fc64823e180486b868d3ba7dd19
https://github.com/scummvm/scummvm/commit/3eb6f98e6f103fc64823e180486b868d3ba7dd19
Author: D G Turner (digitall at scummvm.org)
Date: 2022-09-16T06:22:22+01:00
Commit Message:
AUDIO: MT32: Restore Fix For Internal Sample Rate Converter Code
This was previously disabled implicitly by the missing define
symbols in the SampleRateConvertor module. This has now been enabled
to use the internal rate convertor code.
This was generating undefined macro warnings from GCC when -Wundef
was passed.
Changed paths:
audio/softsynth/mt32/SampleRateConverter.cpp
diff --git a/audio/softsynth/mt32/SampleRateConverter.cpp b/audio/softsynth/mt32/SampleRateConverter.cpp
index cce6f59fd65..54d0c246363 100644
--- a/audio/softsynth/mt32/SampleRateConverter.cpp
+++ b/audio/softsynth/mt32/SampleRateConverter.cpp
@@ -14,7 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <cstddef>
+#define MT32EMU_WITH_LIBSOXR_RESAMPLER 0
+#define MT32EMU_WITH_LIBSAMPLERATE_RESAMPLER 0
+#define MT32EMU_WITH_INTERNAL_RESAMPLER 1
#include "SampleRateConverter.h"
More information about the Scummvm-git-logs
mailing list