Skip to content

Commit

Permalink
fix - Fixed mpg123 deps
Browse files Browse the repository at this point in the history
---

We've fixed mpg123 dependencies for Windows; they now use UCRT again

---

Type: fix
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Nov 6, 2024
1 parent 6a133d5 commit 01efef5
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion BassBoom.Native/MpgNative.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ internal static unsafe class MpgNative
{
internal static string mpg123LibPath = GetLibPath("mpg123");
internal static string out123LibPath = GetLibPath("out123");
internal static string pthreadLibPath = GetLibPath("libwinpthread-1");

internal static LibraryManager? libManagerMpg;
internal static LibraryManager? libManagerOut;
Expand Down Expand Up @@ -121,7 +122,7 @@ internal static void InitializeLibrary(string libPath, string libPathOut)
if (architecture == Architecture.X86 || architecture == Architecture.Arm)
throw new BasoliaNativeLibraryException("32-bit platforms are no longer supported.");
libManagerMpg = new LibraryManager(new LibraryFile(mpg123LibPath));
libManagerOut = new LibraryManager(new LibraryFile(out123LibPath));
libManagerOut = new LibraryManager([new LibraryFile(pthreadLibPath), new LibraryFile(out123LibPath)]);
libManagerMpg.LoadNativeLibrary();
libManagerOut.LoadNativeLibrary();

Expand Down
Binary file not shown.
Binary file modified BassBoom.Native/runtimes/win-x64/native/mpg123.dll
Binary file not shown.
Binary file modified BassBoom.Native/runtimes/win-x64/native/out123.dll
Binary file not shown.
Binary file modified BassBoom.Native/runtimes/win-x64/native/plugins/output_dummy.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified BassBoom.Native/runtimes/win-x64/native/plugins/output_sdl.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
We've updated MPG123 to version 1.32.9 as there was a security vulnerability that was fixed.
(Errata release) We've updated MPG123 to version 1.32.9 as there was a security vulnerability that was fixed.

### Changes

Expand Down
2 changes: 1 addition & 1 deletion CHANGES.TITLE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[servicing] BassBoom v0.2.4: More Secure!
[servicing] BassBoom v0.2.4.1: More Secure!
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>0.2.4</Version>
<Version>0.2.4.1</Version>
<Authors>Aptivi</Authors>
<Company>Aptivi</Company>
<Copyright>Copyright (c) 2021-2024 Aptivi</Copyright>
Expand Down

0 comments on commit 01efef5

Please sign in to comment.