aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/players
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/scumm/players
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/scumm/players')
-rw-r--r--engines/scumm/players/player_ad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/players/player_ad.cpp b/engines/scumm/players/player_ad.cpp
index adcda68e10..b22180b47f 100644
--- a/engines/scumm/players/player_ad.cpp
+++ b/engines/scumm/players/player_ad.cpp
@@ -38,7 +38,7 @@ namespace Scumm {
Player_AD::Player_AD(ScummEngine *scumm, Audio::Mixer *mixer)
: _vm(scumm), _mixer(mixer), _rate(mixer->getOutputRate()) {
_opl2 = OPL::Config::create();
- if (!_opl2->init(_rate)) {
+ if (!_opl2->init()) {
error("Could not initialize OPL2 emulator");
}