* Revert "Link iplChannelSelect + fix channelTitle pad interaction (clean subset) (#230)" This reverts commit27844c37b3. * Revert "Link iplBoard + iplBoardObject as matching (#229)" This reverts commitabf047bc3b. * Revert "Link iplChannelTitle, iplController, iplSaveDataManager, eggAudioExpMgr (#225)" This reverts commit52977bb782.
31 lines
804 B
C++
31 lines
804 B
C++
#include <egg/core.h>
|
|
|
|
namespace EGG {
|
|
SimpleAudioMgrWithFx::SimpleAudioMgrWithFx() {
|
|
}
|
|
|
|
SimpleAudioMgrWithFx::~SimpleAudioMgrWithFx() {
|
|
}
|
|
|
|
SimpleAudioMgrWithFx::ArgWithFx::ArgWithFx() : fxArg() {
|
|
// auto generates constructors
|
|
SimpleAudioMgrArg unused0;
|
|
AudioFxMgr::AudioFxMgrArg unused1;
|
|
}
|
|
|
|
void SimpleAudioMgrWithFx::initialize(IAudioMgr::Arg* arg) {
|
|
SimpleAudioMgr::initialize(arg);
|
|
|
|
if (arg != NULL) {
|
|
arg = (IAudioMgr::Arg*)&((ArgWithFx*)arg)->fxArg;
|
|
}
|
|
|
|
initializeFx(&mHeap, (AudioFxMgrArg*)arg);
|
|
|
|
setFxReverbHi(nw4r::snd::AUX_A, AudioFxMgr::getDefaultFxReverbHi());
|
|
setFxChorus(nw4r::snd::AUX_B, AudioFxMgr::getDefaultFxChorus());
|
|
|
|
mHeap.SaveState();
|
|
}
|
|
} // namespace EGG
|