From 8cd9c618f78deec89a7f48b81687faaa75bfc2b2 Mon Sep 17 00:00:00 2001 From: gtrxAC <59177874+gtrxAC@users.noreply.github.com> Date: Sat, 21 May 2022 23:24:35 +0300 Subject: [PATCH] Updated Frequently Asked Questions (markdown) --- Frequently-Asked-Questions.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Frequently-Asked-Questions.md b/Frequently-Asked-Questions.md index a6b8087..e088fc8 100644 --- a/Frequently-Asked-Questions.md +++ b/Frequently-Asked-Questions.md @@ -16,6 +16,7 @@ - [How do I load my 3d model animations in raylib?](#how-do-i-load-my-3d-model-animations-in-raylib) - [Does raylib support Vulkan? Will raylib support it?](#does-raylib-support-vulkan-will-raylib-support-it) - [Why my assets are not loaded?](#why-my-assets-are-not-loaded) +- [Why are my sound files not working?](#why-are-my-sound-files-not-working) - [How do I remove the console window?](#how-do-i-remove-the-console-window) - [How do I setup a custom icon for my executable?](#how-do-i-setup-a-custom-icon-for-my-executable) @@ -259,11 +260,16 @@ raylib is build over OpenGL only and for the moment there are no plans to suppor Wrong working directory _TODO_ +## Why are my sound files not working? + +If you're getting `Failed to open file`, see the above question. If you're getting warnings like `Failed to get frame count for format conversion`, there are two possible causes: +* The audio device is not initialized, it must be initialized with `InitAudioDevice()` before any sounds can be loaded. +* The audio file is corrupted or not supported by raylib, try converting it to another format or using a different file. + ## How do I remove the console window? It can be removed with a compiler parameter... _TODO_ ## How do I setup a custom icon for my executable? -_TODO_ - +_TODO_ \ No newline at end of file