aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/drivers
diff options
context:
space:
mode:
authorMatthew Hoops2015-04-03 01:05:03 -0400
committerMatthew Hoops2015-07-07 20:19:42 -0400
commit2e8f9dcec93653f1bd1f115662f9fcf3a5581fd8 (patch)
treee843e3f7de6172b24f4c54b260d663f9c0cc4a80 /engines/sherlock/scalpel/drivers
parentf1f29302f5401c4782985cec4d47d069b99036ee (diff)
downloadscummvm-rg350-2e8f9dcec93653f1bd1f115662f9fcf3a5581fd8.tar.gz
scummvm-rg350-2e8f9dcec93653f1bd1f115662f9fcf3a5581fd8.tar.bz2
scummvm-rg350-2e8f9dcec93653f1bd1f115662f9fcf3a5581fd8.zip
AUDIO: Remove the sample rate configuration from the OPL code
Diffstat (limited to 'engines/sherlock/scalpel/drivers')
-rw-r--r--engines/sherlock/scalpel/drivers/adlib.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sherlock/scalpel/drivers/adlib.cpp b/engines/sherlock/scalpel/drivers/adlib.cpp
index 91641fcccd..3c5a6559c4 100644
--- a/engines/sherlock/scalpel/drivers/adlib.cpp
+++ b/engines/sherlock/scalpel/drivers/adlib.cpp
@@ -285,8 +285,6 @@ private:
};
int MidiDriver_SH_AdLib::open() {
- int rate = _mixer->getOutputRate();
-
debugC(kDebugLevelAdLibDriver, "AdLib: starting driver");
_opl = OPL::Config::create(OPL::Config::kOpl2);
@@ -294,7 +292,7 @@ int MidiDriver_SH_AdLib::open() {
if (!_opl)
return -1;
- _opl->init(rate);
+ _opl->init();
MidiDriver_Emulated::open();