2394425147 / 2394425147/astrodx
In Beta 1, AstroDX failed to load `bassmix` shared library.
- 主要語言
- C#
- 星號
- 1.9k
- 分支
- 63
- PR 合併指標
- 30 天內沒有已合併 PR
描述
**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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
此錯誤發生在 AstroDX.Audio.AudioMixer 建構函式呼叫 ManagedBass.Mix.BassMix.CreateMixerStream 時。查找 bassmix DLL 的載入或打包位置,可能在專案的原生函式庫處理流程中。檢查建置腳本或依賴項是否包含 bassmix,並驗證平台特定的函式庫載入。請在相似設備或模擬器上測試以確認修復。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- audio-video-rtc
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 40/100