I'm using OpenAL as my game sound engine, but I encountered some strange issues while using it. After writing the code, I packaged the game as an executable file, and testing it on the Linux platform showed no issues
[AudioEngine.cs] (https://github.com/user-attachments/files/28689896/AudioEngine.cs)
[IAudioClip.cs] (https://github.com/user-attachments/files/28689897/IAudioClip.cs)
It plays normally, but if you switch to Windows, you won't hear any sound at all
I'm using OpenAL as my game sound engine, but I encountered some strange issues while using it. After writing the code, I packaged the game as an executable file, and testing it on the Linux platform showed no issues
[AudioEngine.cs] (https://github.com/user-attachments/files/28689896/AudioEngine.cs)
[IAudioClip.cs] (https://github.com/user-attachments/files/28689897/IAudioClip.cs)
It plays normally, but if you switch to Windows, you won't hear any sound at all