Skip to content

Commit

Permalink
update linux binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
SineVector241 committed Oct 14, 2024
1 parent ae60604 commit 3ee5d40
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion OpusSharp.Core/NativeOpus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ namespace OpusSharp.Core
{
internal static unsafe class NativeOpus
{
#if __ANDROID__ || LINUX
#if __ANDROID__
private const string DllName = "libopus.so";
#elif LINUX
private const string DllName = "libopus.so.0.10.1";
#elif __IOS__ || __MACCATALYST__
private const string DllName = "__Internal__";
#else
Expand Down
7 changes: 4 additions & 3 deletions OpusSharp.Linux/OpusSharp.Linux.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata>
<id>OpusSharp.Linux</id>
<version>1.0.0</version>
<version>1.0.1</version>
<description>Contains linux opus binaries for OpusSharp.</description>
<authors>The Opus Audio Codec Authors</authors>
<projectUrl>https://opus-codec.org/</projectUrl>
Expand All @@ -12,6 +12,7 @@
</dependencies>
</metadata>
<files>
<file src="linux-x64\libopus.so" target="runtimes\linux-x64\native" />
<file src="linux-x64\libopus.so.0.10.1" target="runtimes\linux-x64\native" />
<file src="linux-x86\libopus.so.0.10.1" target="runtimes\linux-x86\native" />
</files>
</package>
</package>
Binary file removed OpusSharp.Linux/linux-x64/libopus.so
Binary file not shown.

0 comments on commit 3ee5d40

Please sign in to comment.