aboutsummaryrefslogtreecommitdiff
path: root/src/test/audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/audio.cpp')
-rw-r--r--src/test/audio.cpp4
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();