Skip to content

Commit

Permalink
fix - reg - Fixed failure to acknowledge root path
Browse files Browse the repository at this point in the history
---

We've fixed a regression causing BassBoom not to consider the libwinpthread-1 custom path.

---

Type: fix
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Jul 28, 2024
1 parent 6af69f2 commit 2574fea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BassBoom.Native/MpgNative.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,14 @@ internal static void InitializeLibrary(string libPath, string libPathOut, string
if (!File.Exists(libPathOut))
throw new BasoliaNativeLibraryException($"out123 library path {libPath} doesn't exist.");
if (PlatformHelper.IsOnWindows() && !File.Exists(libPathWinpthreads))
throw new BasoliaNativeLibraryException($"libwinpthreads library path {libPathWinpthreads} doesn't exist.");
throw new BasoliaNativeLibraryException($"libwinpthread-1 library path {libPathWinpthreads} doesn't exist.");

// Set the library path
string oldLibPath = mpg123LibPath;
string oldLibPathOut = out123LibPath;
mpg123LibPath = libPath;
out123LibPath = libPathOut;
winpthreadsLibPath = libPathWinpthreads;

// Start the libraries up
libManagerMpg = new LibraryManager(
Expand Down

0 comments on commit 2574fea

Please sign in to comment.