diff options
author | Matthew Hoops | 2015-04-03 01:05:03 -0400 |
---|---|---|
committer | Matthew Hoops | 2015-07-07 20:19:42 -0400 |
commit | 2e8f9dcec93653f1bd1f115662f9fcf3a5581fd8 (patch) | |
tree | e843e3f7de6172b24f4c54b260d663f9c0cc4a80 /engines/sky/music/adlibmusic.cpp | |
parent | f1f29302f5401c4782985cec4d47d069b99036ee (diff) | |
download | scummvm-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/sky/music/adlibmusic.cpp')
-rw-r--r-- | engines/sky/music/adlibmusic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sky/music/adlibmusic.cpp b/engines/sky/music/adlibmusic.cpp index 2b73cb1411..e410b3fb7b 100644 --- a/engines/sky/music/adlibmusic.cpp +++ b/engines/sky/music/adlibmusic.cpp @@ -36,7 +36,7 @@ AdLibMusic::AdLibMusic(Audio::Mixer *pMixer, Disk *pDisk) : MusicBase(pMixer, pD _sampleRate = pMixer->getOutputRate(); _opl = OPL::Config::create(); - if (!_opl || !_opl->init(_sampleRate)) + if (!_opl || !_opl->init()) error("Failed to create OPL"); _mixer->playStream(Audio::Mixer::kMusicSoundType, &_soundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true); |