[Scummvm-git-logs] scummvm master -> 1e9ecf405e7687e8e0d23ea3d778014593e84cbb
djsrv
noreply at scummvm.org
Sat Nov 20 03:59:02 UTC 2021
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:
1e9ecf405e DIRECTOR: allocate more than 2 audio channels
Commit: 1e9ecf405e7687e8e0d23ea3d778014593e84cbb
https://github.com/scummvm/scummvm/commit/1e9ecf405e7687e8e0d23ea3d778014593e84cbb
Author: Misty De Meo (mistydemeo at gmail.com)
Date: 2021-11-19T22:58:59-05:00
Commit Message:
DIRECTOR: allocate more than 2 audio channels
Changed paths:
engines/director/score.cpp
engines/director/sound.cpp
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 2f12ec342f..69333c9c2f 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -752,7 +752,7 @@ void Score::playSoundChannel(uint16 frameId) {
}
// Channels above 2 are only usable by Lingo.
- if (g_director->getVersion() >= 400) {
+ if (g_director->getVersion() >= 300) {
sound->playPuppetSound(3);
sound->playPuppetSound(4);
}
diff --git a/engines/director/sound.cpp b/engines/director/sound.cpp
index a44375fd6c..bbdcde5d3f 100644
--- a/engines/director/sound.cpp
+++ b/engines/director/sound.cpp
@@ -44,7 +44,7 @@ namespace Director {
DirectorSound::DirectorSound(Window *window) : _window(window) {
uint numChannels = 2;
- if (g_director->getVersion() >= 400) {
+ if (g_director->getVersion() >= 300) {
numChannels = 4;
}
More information about the Scummvm-git-logs
mailing list