fix: Fix TTS COM exception in IL2CPP
This commit is contained in:
35
Assets/Plugins/Windows/Interop.SpeechLib/SPVOICESTATUS.cs
Normal file
35
Assets/Plugins/Windows/Interop.SpeechLib/SPVOICESTATUS.cs
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user