2394425147 / 2394425147/astrodx

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

Aperta
#116 0 commenti 0 reazioni 1 assegnatario Rivendicata da @2394425147 Vedi su GitHub
bug
Lingua principale
C#
Stelle
1.9k
Fork
63
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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**
- Device: Samsung Galaxy A10
- OS: OneUI
- Version: 3.1

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

The error occurs in AstroDX.Audio.AudioMixer constructor calling ManagedBass.Mix.BassMix.CreateMixerStream. Look for where bassmix DLL is loaded or packaged, likely in the project's native library handling. Check build scripts or dependencies for bassmix inclusion, and verify platform-specific library loading. Test on a similar device or emulator to confirm the fix.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
audio-video-rtc
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
40/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.