diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-05 14:20:45 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-05 14:20:45 +0200 |
commit | 202a9ec288ded78771e1f7e4c711a7612b201b9d (patch) | |
tree | ffb476db3ac57f9edafe3feee315bdf05088cbf2 /src/test/audio.cpp | |
parent | f4bb6d57cc88a7e25b3a5f43faafa49a7f500b7c (diff) |
rename Resource to Asset
Diffstat (limited to 'src/test/audio.cpp')
-rw-r--r-- | src/test/audio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/audio.cpp b/src/test/audio.cpp index 5bb2607..1d84551 100644 --- a/src/test/audio.cpp +++ b/src/test/audio.cpp @@ -2,7 +2,7 @@ #include <memory> #include <crepe/api/AudioSource.h> -#include <crepe/api/Resource.h> +#include <crepe/api/Asset.h> #include <chrono> #include <thread> @@ -15,7 +15,7 @@ using namespace crepe::api; // TODO: mock internal audio class TEST(audio, play) { - auto res = std::make_unique<Resource>("../mwe/audio/bgm.ogg"); + auto res = std::make_unique<Asset>("../mwe/audio/bgm.ogg"); auto bgm = AudioSource(std::move(res)); bgm.play(); |