mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement/match remaining MxWavePresenter functions (#294)
* Implement/match remaining MxWavePresenter functions * Name m_unk65 * Match WriteToSoundBuffer * Remove header * Match StreamingTickle * Name more variables * Give names to some things
This commit is contained in:

committed by
GitHub

parent
a577b393bf
commit
1d3ce6b0aa
@@ -37,10 +37,10 @@ public:
|
||||
virtual undefined4 PutData() override; // vtable+0x4c
|
||||
virtual void Enable(MxBool p_enable) override; // vtable+0x54
|
||||
virtual void AppendChunk(MxStreamChunk* p_chunk) override; // vtable+0x58
|
||||
virtual void SetVolume(MxU32 p_volume) override; // vtable+0x60
|
||||
virtual void VTable0x64(); // vtable+0x64
|
||||
virtual void VTable0x68(); // vtable+0x68
|
||||
virtual undefined VTable0x6c(); // vtable+0x6c
|
||||
virtual void SetVolume(MxS32 p_volume) override; // vtable+0x60
|
||||
virtual void Pause(); // vtable+0x64
|
||||
virtual void Resume(); // vtable+0x68
|
||||
virtual MxBool IsPaused(); // vtable+0x6c
|
||||
|
||||
// Reference: https://github.com/itsmattkc/SIEdit/blob/master/lib/othertypes.h
|
||||
// SIZE 0x1c
|
||||
@@ -53,19 +53,19 @@ public:
|
||||
private:
|
||||
void Init();
|
||||
void Destroy(MxBool p_fromDestructor);
|
||||
MxS8 FUN_100b1b60();
|
||||
MxS8 GetPlayedChunks();
|
||||
MxBool FUN_100b1ba0();
|
||||
void FUN_100b1bd0(void* p_audioPtr, MxU32 p_length);
|
||||
void WriteToSoundBuffer(void* p_audioPtr, MxU32 p_length);
|
||||
|
||||
WaveFormat* m_waveFormat;
|
||||
LPDIRECTSOUNDBUFFER m_dsBuffer;
|
||||
MxU32 m_length;
|
||||
undefined4 m_unk60;
|
||||
MxU8 m_unk64;
|
||||
MxBool m_unk65;
|
||||
MxBool m_unk66;
|
||||
MxS8 m_unk67;
|
||||
undefined m_unk68;
|
||||
WaveFormat* m_waveFormat; // 0x54
|
||||
LPDIRECTSOUNDBUFFER m_dsBuffer; // 0x58
|
||||
MxU32 m_chunkLength; // 0x5c
|
||||
MxU32 m_lockSize; // 0x60
|
||||
MxU8 m_writtenChunks; // 0x64
|
||||
MxBool m_started; // 0x65
|
||||
MxBool m_unk66; // 0x66
|
||||
MxS8 m_silenceData; // 0x67
|
||||
MxBool m_paused; // 0x68
|
||||
};
|
||||
|
||||
#endif // MXWAVEPRESENTER_H
|
||||
|
Reference in New Issue
Block a user