mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-18 05:51:15 +00:00
MxBackgroundAuioManager gets a MxWavePresenter
This commit is contained in:
parent
b74ee2f9ff
commit
9e98f5d690
@ -3,7 +3,6 @@
|
|||||||
#include "legomain.h"
|
#include "legomain.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "mxaudiopresenter.h"
|
#include "mxaudiopresenter.h"
|
||||||
#include "mxcompositepresenter.h"
|
|
||||||
#include "mxdssound.h"
|
#include "mxdssound.h"
|
||||||
#include "mxmisc.h"
|
#include "mxmisc.h"
|
||||||
#include "mxnotificationmanager.h"
|
#include "mxnotificationmanager.h"
|
||||||
@ -11,6 +10,7 @@
|
|||||||
#include "mxstreamer.h"
|
#include "mxstreamer.h"
|
||||||
#include "mxticklemanager.h"
|
#include "mxticklemanager.h"
|
||||||
#include "mxutilities.h"
|
#include "mxutilities.h"
|
||||||
|
#include "mxwavepresenter.h"
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(MxBackgroundAudioManager, 0x150)
|
DECOMP_SIZE_ASSERT(MxBackgroundAudioManager, 0x150)
|
||||||
|
|
||||||
@ -356,7 +356,7 @@ MxResult MxBackgroundAudioManager::SetPendingPresenter(
|
|||||||
m_pendingPresenter = (MxAudioPresenter*) p_presenter;
|
m_pendingPresenter = (MxAudioPresenter*) p_presenter;
|
||||||
m_targetVolume = ((MxDSSound*) m_pendingPresenter->GetAction())->GetVolume();
|
m_targetVolume = ((MxDSSound*) m_pendingPresenter->GetAction())->GetVolume();
|
||||||
|
|
||||||
((MxCompositePresenter*) m_pendingPresenter)->VTable0x60(NULL);
|
((MxWavePresenter*) m_pendingPresenter)->SetVolume(0);
|
||||||
|
|
||||||
m_speed = p_speed;
|
m_speed = p_speed;
|
||||||
m_tickleState = p_tickleState;
|
m_tickleState = p_tickleState;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user