2394425147 / astrodx

846 stars 38 forks source link

In Beta 1, AstroDX failed to load `bassmix` shared library. #116

Open cattokomo opened 3 months ago

cattokomo commented 3 months ago

Describe the bug An error will appear about bassmix DLL failed to load. This was the full stacktrace.

DllNotFoundException: Unable to load DLL 'bassmix'. Tried the load the following dynamic libraries: Unable to load dynamic library 'bassmix' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library "bassmix" not found
ManagedBass.Mix.BassMix.CreateMixerStream (System.Int32 Frequency, System.Int32 Channels, ManagedBass.BassFlags Flags) (at <00000000000000000000000000000000>:0)
AstroDX.Audio.AudioMixer..ctor () (at <00000000000000000000000000000000>:0)
AstroDX.Audio.Systems.Music..cctor () (at <00000000000000000000000000000000>:0)
AstroDX.Audio.AudioSystem.Initialize () (at <00000000000000000000000000000000>:0)
Rethrow as TypeInitializationException: The type initializer for 'AstroDX.Audio.Systems.Music' threw an exception.
AstroDX.Audio.AudioSystem.Initialize () (at <00000000000000000000000000000000>:0)

To Reproduce Steps to reproduce the behavior:

  1. Simply open AstroDX Beta 1.

Expected behavior No error or whatsoever.

Device specs

Additional context This error does not happened in other devices, in my case Samsung Galaxy A52 OneUI 4.