Audio: Add .wav loader (using dr_wav)

This commit is contained in:
Jérôme Leclercq
2021-05-29 21:59:29 +02:00
parent 28f1d8aa76
commit 7ced0e5f08
4 changed files with 378 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
local modules = {
Audio = {
Deps = {"NazaraCore"},
Packages = {"libsndfile", "minimp3"}
Packages = {"dr_wav", "libsndfile", "minimp3"}
},
Core = {},
Graphics = {
@@ -86,7 +86,7 @@ local modules = {
add_repositories("local-repo xmake-repo")
add_requires("chipmunk2d", "freetype", "libsndfile", "libsdl", "minimp3", "stb")
add_requires("chipmunk2d", "dr_wav", "freetype", "libsndfile", "libsdl", "minimp3", "stb")
add_requires("newtondynamics", { debug = is_plat("windows") and is_mode("debug") }) -- Newton doesn't like compiling in Debug on Linux
set_project("NazaraEngine")