-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[raudio] Null audio device backend when trying to initialize #4376
Comments
@Patchap1 Did you try the audio examples? Do they work? If they work then issue could be in your code. |
What do you mean by audio examples? And regarding the list of values in the log, yes, it is from the printf() function, and you can clearly see a line of 1, which means the sound was played but couldn't be heard. |
@Patchap1 I mean the raylib audio examples included with the library. If you are on Windows, you can open the provided VS2022 solution and try them. |
@Patchap1 You have |
You can check two similar issues but on macOS mackron/miniaudio#750 and gen2brain/raylib-go#274. It can also happen on distros with non-standard file system layout because miniaudio will dlopen/runtime link the libraries. |
It seems the issue is out of scope of raylib and it can rely on OS configuration or miniaudio library. |
Sorry I'm kinda new so I don't know how to use the exemples. |
AH ! Nevermind I found the issue, it was because I wasn't including miniaudio.h... |
Hello,
I was trying to add sound to my game using Raylib, but I can't hear anything. However, when I look at the console, it says that the sound and the music stream were loaded successfully (I even added code to show 0 if no sound is playing and 1 if a sound is playing). So I’m guessing I’m missing something to be able to hear it, or the sounds I’m using are incompatible. Can someone help me understand the problem, please?
The text was updated successfully, but these errors were encountered: