From bbdeca5b816b740976970843d07516e099a89482 Mon Sep 17 00:00:00 2001 From: jarupxx Date: Thu, 2 Feb 2017 19:24:22 +0900 Subject: [PATCH] Added the SetLFO fnctions (4627) --- src/CxbxKrnl/HLEDataBase/DSound.1.0.4627.inl | 82 ++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/src/CxbxKrnl/HLEDataBase/DSound.1.0.4627.inl b/src/CxbxKrnl/HLEDataBase/DSound.1.0.4627.inl index 9482cfe73..acb1164e2 100644 --- a/src/CxbxKrnl/HLEDataBase/DSound.1.0.4627.inl +++ b/src/CxbxKrnl/HLEDataBase/DSound.1.0.4627.inl @@ -2845,6 +2845,80 @@ OOVPA_XREF(IDirectSoundBuffer_SetNotificationPositions, 4627, 9, { 0x1E, 0x0C }, OOVPA_END; +// ****************************************************************** +// * CMcpxVoiceClient::SetLFO +// ****************************************************************** +OOVPA_XREF(CMcpxVoiceClient_SetLFO, 4627, 8, + + XREF_DirectSound_CMcpxVoiceClient_SetLFO, + XRefZero) + + { 0x1E, 0x48 }, + { 0x3E, 0x31 }, + { 0x5E, 0x35 }, + { 0x7E, 0xE1 }, + { 0x9E, 0x8B }, + { 0xBE, 0x8B }, + { 0xDE, 0x05 }, + { 0xFE, 0x6C }, +OOVPA_END; + +// ****************************************************************** +// * CDirectSoundVoice::SetLFO +// ****************************************************************** +OOVPA_XREF(CDirectSoundVoice_SetLFO, 4627, 7, + + XREF_DirectSound_CDirectSoundVoice_SetLFO, + XRefOne) + + { 0x0C, XREF_DirectSound_CMcpxVoiceClient_SetLFO }, + + { 0x01, 0x44 }, + { 0x04, 0xFF }, + { 0x07, 0x08 }, + { 0x0A, 0x0C }, + { 0x10, 0xC2 }, + { 0x11, 0x08 }, +OOVPA_END; + +// ****************************************************************** +// * CDirectSoundBuffer::SetLFO +// ****************************************************************** +OOVPA_XREF(CDirectSoundBuffer_SetLFO, 4627, 8, + + XREF_DirectSound_CDirectSoundBuffer_SetLFO, + XRefOne) + + { 0x32, XREF_DirectSound_CDirectSoundVoice_SetLFO }, + + { 0x0C, 0x00 }, + { 0x12, 0x85 }, + { 0x1C, 0x15 }, + { 0x26, 0xEB }, + { 0x30, 0x10 }, + { 0x3A, 0x74 }, + { 0x47, 0x8B }, +OOVPA_END; + +// ****************************************************************** +// * IDirectSoundBuffer_SetLFO +// ****************************************************************** +OOVPA_XREF(IDirectSoundBuffer8_SetLFO, 4627, 8, + + XRefNoSaveIndex, + XRefOne) + + { 0x15, XREF_DirectSound_CDirectSoundBuffer_SetLFO }, + + { 0x02, 0x24 }, + { 0x06, 0x24 }, + { 0x0A, 0x83 }, + { 0x0E, 0xD9 }, + { 0x12, 0xC8 }, + { 0x19, 0xC2 }, + { 0x1A, 0x08 }, +OOVPA_END; + // ****************************************************************** // * Direct, 4627 // ****************************************************************** @@ -3205,6 +3279,14 @@ OOVPATable DSound_4627[] = { //OOVPA_TABLE_XREF(DirectSound_CDirectSoundBuffer_SetNotificationPositions, 4627), //// IDirectSoundBuffer8::SetNotificationPositions //OOVPA_TABLE_XREF(IDirectSoundBuffer_SetNotificationPositions, 4627), + // DirectSound::CMcpxVoiceClient::SetLFO (XREF) + OOVPA_TABLE_XREF(CMcpxVoiceClient_SetLFO, 4627), + // CDirectSoundVoice::SetLFO (XREF) + OOVPA_TABLE_XREF(CDirectSoundVoice_SetLFO, 4627), + // CDirectSoundBuffer::SetLFO (XREF) + OOVPA_TABLE_XREF(CDirectSoundBuffer_SetLFO, 4627), + // IDirectSoundBuffer8::SetLFO + OOVPA_TABLE_ENTRY(IDirectSoundBuffer8_SetLFO, 4627), }; // ******************************************************************