From 25bb439c34f811feceb5dd05b56c1c7e3e8ea00a Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期一, 06 五月 2019 20:07:12 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Voice/OpusNative.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/Voice/OpusNative.cs b/System/Voice/OpusNative.cs
index 1f4a1ec..dab1fe6 100644
--- a/System/Voice/OpusNative.cs
+++ b/System/Voice/OpusNative.cs
@@ -4,14 +4,14 @@
public static class OpusNative
{
-#if UNITY_ANDROID || UNITY_EDITOR
+#if UNITY_ANDROID || UNITY_EDITOR || UNITY_STANDALONE
[DllImport("opus")]
#elif UNITY_IOS
[DllImport("__Internal")]
#endif
public static extern int native_opus_encode(short[] pcm, int len, byte[] opus);
-#if UNITY_ANDROID || UNITY_EDITOR
+#if UNITY_ANDROID || UNITY_EDITOR || UNITY_STANDALONE
[DllImport("opus")]
#elif UNITY_IOS
[DllImport("__Internal")]
--
Gitblit v1.8.0