少年修仙传客户端代码仓库
client_Hale
2019-05-06 25bb439c34f811feceb5dd05b56c1c7e3e8ea00a
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")]