[Scummvm-git-logs] scummvm master -> 898ca4e8af96c8f2590ee7cbefae2ec72e54a5b0
dreammaster
noreply at scummvm.org
Sun Aug 9 09:33:19 UTC 2026
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:
898ca4e8af MADS: NEBULAR: Fix speech sample rate
Commit: 898ca4e8af96c8f2590ee7cbefae2ec72e54a5b0
https://github.com/scummvm/scummvm/commit/898ca4e8af96c8f2590ee7cbefae2ec72e54a5b0
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-08-09T19:33:08+10:00
Commit Message:
MADS: NEBULAR: Fix speech sample rate
Changed paths:
engines/mads/core/speech.cpp
diff --git a/engines/mads/core/speech.cpp b/engines/mads/core/speech.cpp
index 78d296c6b55..f7de2628a30 100644
--- a/engines/mads/core/speech.cpp
+++ b/engines/mads/core/speech.cpp
@@ -107,7 +107,8 @@ Audio::AudioStream *speech_load(const char *resName, int id, bool) {
// At this point we have valid data
memStream = new Common::MemoryReadStream(load_buf, speechDir.size, DisposeAfterUse::YES);
- audioStream = Audio::makeRawStream(memStream, 11025, Audio::FLAG_UNSIGNED, DisposeAfterUse::YES);
+ audioStream = Audio::makeRawStream(memStream, g_engine->getGameID() == GType_RexNebular ? 8192 : 11025,
+ Audio::FLAG_UNSIGNED, DisposeAfterUse::YES);
done:
delete handle;
More information about the Scummvm-git-logs
mailing list