[Scummvm-cvs-logs] CVS: scummvm/sound fmopl.cpp,1.26,1.27 fmopl.h,1.15,1.16
Nicolas Bacca
arisme at users.sourceforge.net
Fri Jan 28 13:05:26 CET 2005
Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21374
Modified Files:
fmopl.cpp fmopl.h
Log Message:
Add medium quality sound for FOTAQ
Index: fmopl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/fmopl.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- fmopl.cpp 10 Jan 2005 22:46:23 -0000 1.26
+++ fmopl.cpp 28 Jan 2005 20:46:36 -0000 1.27
@@ -1147,6 +1147,11 @@
env_bits = FMOPL_ENV_BITS_HQ;
eg_ent = FMOPL_EG_ENT_HQ;
}
+ else
+ if (ConfMan.hasKey("FM_medium_quality") && ConfMan.getBool("FM_medium_quality")) {
+ env_bits = FMOPL_ENV_BITS_MQ;
+ eg_ent = FMOPL_EG_ENT_MQ;
+ }
else {
env_bits = FMOPL_ENV_BITS_LQ;
eg_ent = FMOPL_EG_ENT_LQ;
Index: fmopl.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/fmopl.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- fmopl.h 10 Jan 2005 22:46:23 -0000 1.15
+++ fmopl.h 28 Jan 2005 20:46:36 -0000 1.16
@@ -30,8 +30,10 @@
enum {
FMOPL_ENV_BITS_HQ = 16,
+ FMOPL_ENV_BITS_MQ = 8,
FMOPL_ENV_BITS_LQ = 8,
FMOPL_EG_ENT_HQ = 4096,
+ FMOPL_EG_ENT_MQ = 1024,
FMOPL_EG_ENT_LQ = 128
};
More information about the Scummvm-git-logs
mailing list