From 2574fea19db8e3258daea37a9fe5500c956f1345 Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Sun, 28 Jul 2024 20:24:13 +0300 Subject: [PATCH] fix - reg - Fixed failure to acknowledge root path --- 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 --- BassBoom.Native/MpgNative.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BassBoom.Native/MpgNative.cs b/BassBoom.Native/MpgNative.cs index 72cd8b8..b032cfe 100644 --- a/BassBoom.Native/MpgNative.cs +++ b/BassBoom.Native/MpgNative.cs @@ -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(