fix: Fix TTS COM exception in IL2CPP

This commit is contained in:
2025-05-07 22:56:32 +08:00
parent 5daee1a01a
commit a3efe939e8
107 changed files with 3862 additions and 79 deletions

View File

@@ -0,0 +1,21 @@
using System.Runtime.InteropServices;
namespace SpeechLib {
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[TypeLibType(528)]
public struct SPEVENT {
public ushort eEventId;
public ushort elParamType;
public uint ulStreamNum;
public ulong ullAudioStreamOffset;
[ComAliasName("SpeechLib.UINT_PTR")]
public ulong wParam;
[ComAliasName("SpeechLib.LONG_PTR")]
public long lParam;
}
}