We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e3259b commit 29f6809Copy full SHA for 29f6809
src/Hacks/PitchShifter.cpp
@@ -21,7 +21,7 @@ void updatePitch()
21
22
#ifdef GEODE_IS_IOS
23
reinterpret_cast<FMOD_RESULT(__cdecl*)(FMOD::System*, FMOD_DSP_TYPE, FMOD::DSP**)>(geode::base::get() + OffsetManager::get()->offsetForFunction(FunctionType::FMOD__System__createDSPByType))(FMODAudioEngine::sharedEngine()->m_system, FMOD_DSP_TYPE_PITCHSHIFT, &pitchDSP); //createDSPByType
24
- reinterpret_cast<FMOD_RESULT(__cdecl*)(FMOD::ChannelControl*, int, FMOD::DSP*)>(geode::base::get() + OffsetManager::get()->offsetForFunction(FunctionType::FMOD::ChannelControl::addDSP))(masterGroup, 0, pitchDSP); //addDSP
+ reinterpret_cast<FMOD_RESULT(__cdecl*)(FMOD::ChannelControl*, int, FMOD::DSP*)>(geode::base::get() + OffsetManager::get()->offsetForFunction(FunctionType::FMOD__ChannelControl__addDSP))(masterGroup, 0, pitchDSP); //addDSP
25
#else
26
FMODAudioEngine::sharedEngine()->m_system->createDSPByType(FMOD_DSP_TYPE_PITCHSHIFT, &pitchDSP);
27
masterGroup->addDSP(0, pitchDSP);
0 commit comments