We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19087f6 commit 1eddfbbCopy full SHA for 1eddfbb
unity/Scripts/LibOpus.cs
@@ -8,8 +8,11 @@ namespace Libopus
8
{
9
public static class LibraryWrapper
10
11
+#if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
12
const string dllName = "opus.dll";
-
13
+#else
14
+ const string dllName = "libopus";
15
+#endif
16
public enum EncoderCtlID
17
18
SetApplicationRequest = 4000,
@@ -120,7 +123,6 @@ public enum EncoderCtlID
120
123
[DllImport(dllName)]
121
124
public static extern void opus_encoder_destroy(IntPtr encoder);
122
125
#endregion
126
#region Decoder
127
/// <summary>
128
/// Allocates and initializes a decoder state.
0 commit comments