mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-30 03:15:34 -05:00
cb8c143ce5
* more mxdiskstreamcontroller methods * further debugging and fixes * add more functions * Update mxdiskstreamprovider.cpp * fix build * implement MxDiskStreamProvider::PerformWork * Update mxdiskstreamprovider.cpp * Update mxdiskstreamprovider.cpp * Update mxdssource.h * remove debug prints * Update mxdiskstreamprovider.cpp * Mostly match MxDiskStreamController::FUN_100c8540 * Mostly match MxDiskStreamProvider::FUN_100d1780 * Mostly match MxDiskStreamProvider::PerformWork * Fixes * Retype some members * Various annotations --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
48 lines
809 B
C++
48 lines
809 B
C++
#include "legosoundmanager.h"
|
|
|
|
#include "mxautolocker.h"
|
|
|
|
// FUNCTION: LEGO1 0x100298a0
|
|
LegoSoundManager::LegoSoundManager()
|
|
{
|
|
Init();
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10029940
|
|
LegoSoundManager::~LegoSoundManager()
|
|
{
|
|
Destroy(TRUE);
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100299a0
|
|
void LegoSoundManager::Init()
|
|
{
|
|
m_unk0x40 = 0;
|
|
m_unk0x3c = 0;
|
|
}
|
|
|
|
// STUB: LEGO1 0x100299b0
|
|
void LegoSoundManager::Destroy(MxBool p_fromDestructor)
|
|
{
|
|
}
|
|
|
|
// STUB: LEGO1 0x100299f0
|
|
MxResult LegoSoundManager::Create(MxU32 p_frequencyMS, MxBool p_createThread)
|
|
{
|
|
return SUCCESS;
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1002a390
|
|
void LegoSoundManager::Destroy()
|
|
{
|
|
Destroy(FALSE);
|
|
}
|
|
|
|
// STUB: LEGO1 0x1002a3a0
|
|
MxResult LegoSoundManager::Tickle()
|
|
{
|
|
MxMediaManager::Tickle();
|
|
MxAutoLocker lock(&this->m_criticalSection);
|
|
|
|
return 0; // TODO: call something in unk0x40
|
|
}
|