Audio: Add mp3 support + new demo

This commit is contained in:
Jérôme Leclercq
2021-05-29 19:34:36 +02:00
parent 9d1c821a16
commit d121393267
8 changed files with 447 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
local modules = {
Audio = {
Deps = {"NazaraCore"},
Packages = {"libsndfile"}
Packages = {"libsndfile", "minimp3"}
},
Core = {},
Graphics = {
@@ -86,7 +86,7 @@ local modules = {
add_repositories("local-repo xmake-repo")
add_requires("chipmunk2d", "freetype", "libsndfile", "libsdl", "stb")
add_requires("chipmunk2d", "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")