fix: Fix TTS COM exception in IL2CPP
This commit is contained in:
14
Assets/Plugins/Windows/Interop.SpeechLib/ISpNotifySink.cs
Normal file
14
Assets/Plugins/Windows/Interop.SpeechLib/ISpNotifySink.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace SpeechLib {
|
||||
[ComImport]
|
||||
[TypeLibType(512)]
|
||||
[Guid("259684DC-37C3-11D2-9603-00C04F8EE628")]
|
||||
[InterfaceType(1)]
|
||||
public interface ISpNotifySink {
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void Notify();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user