[Scummvm-git-logs] scummvm branch-2-5 -> 4bdf652093154f5ba8794f824f4b29dbc175c232

eriktorbjorn noreply at scummvm.org
Wed Dec 15 07:50:00 UTC 2021


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
af126ad281 SHERLOCK: Workaround for bad fog horn sound in Serrated Scalpel
4bdf652093 NEWS: Adjust note about sound workarounds in Serrated Scalpel


Commit: af126ad281a1b05f23926684bdb703f27d489648
    https://github.com/scummvm/scummvm/commit/af126ad281a1b05f23926684bdb703f27d489648
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-12-15T08:49:01+01:00

Commit Message:
SHERLOCK: Workaround for bad fog horn sound in Serrated Scalpel

Turns out that the fog horn sound at Lord Brumwell's mansion has the
same problem as the doorbell one. The file says 1100 Hz, but the
original clearly didn't play it at that. 11000 Hz seems to match the 3DO
version, so let's go with that.

Changed paths:
    engines/sherlock/sound.cpp


diff --git a/engines/sherlock/sound.cpp b/engines/sherlock/sound.cpp
index c212ddea38..374eb2f954 100644
--- a/engines/sherlock/sound.cpp
+++ b/engines/sherlock/sound.cpp
@@ -313,11 +313,12 @@ bool Sound::playSoundResource(const Common::String &name, const Common::String &
 
 		byte *decoded = (byte *)malloc((size - 1) * 2);
 
-		// WORKAROUND: The doorbell at Lord Brumwell's mansion sounds really
-		// strange at 1100 Hz. The game isn't heavy on sounds, but other sound
-		// effects seem to be mostly at 11000 Hz, and that sounds about right
-		// here since it matches the 3DO version.
-		if (name == "JFCHIME.SND" && rate == 1100) {
+		// WORKAROUND: The doorbell and fog horn at Lord Brumwell's mansion
+		// sounds really strange at 1100 Hz. The game isn't heavy on sounds,
+		// but other sound effects seem to be mostly at 11000 Hz, and that
+		// sounds about right here since it matches the 3DO version.
+
+		if ((name == "JFCHIME.SND" || name == "JFFOG.SND") && rate == 1100) {
 			rate = 11000;
 		}
 


Commit: 4bdf652093154f5ba8794f824f4b29dbc175c232
    https://github.com/scummvm/scummvm/commit/4bdf652093154f5ba8794f824f4b29dbc175c232
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-12-15T08:49:36+01:00

Commit Message:
NEWS: Adjust note about sound workarounds in Serrated Scalpel

Changed paths:
    NEWS.md


diff --git a/NEWS.md b/NEWS.md
index 7cfd573e9a..e5ae07d6f3 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -38,7 +38,7 @@ For a more comprehensive changelog of the latest experimental code, see:
    - Fix crash using matches on lab table.
    - Fix character animation in Rose Tattoo.
    - Fix glitch opening map in Rose Tattoo.
-   - Fix bell pull sound in Serrated Scalpel.
+   - Fix bell pull and fog horn sounds in Serrated Scalpel.
    - Fix inventory not updating in Serrated Scalpel after examining watch.
    - Fix fog overlay at Cleopatra's Needle in Rose Tattoo.
    - Fix graphic issues in Serrated Scalpel looking at items whilst inventory is open.




More information about the Scummvm-git-logs mailing list