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,35 @@
using System.Runtime.InteropServices;
namespace SpeechLib {
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[TypeLibType(528)]
public struct SPVOICESTATUS {
public uint ulCurrentStream;
public uint ulLastStreamQueued;
[MarshalAs(UnmanagedType.Error)]
public int hrLastResult;
public uint dwRunningState;
public uint ulInputWordPos;
public uint ulInputWordLen;
public uint ulInputSentPos;
public uint ulInputSentLen;
public int lBookmarkId;
public ushort PhonemeId;
public SPVISEMES VisemeId;
public uint dwReserved1;
public uint dwReserved2;
}
}