aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Sound.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-05 14:24:39 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-05 14:24:39 +0200
commitb99e38badb82c5cc79771a77c5f6ea180c67ee4f (patch)
tree9cc3381095363b8ee8e1ce19130345cc3a9bb375 /src/crepe/Sound.cpp
parent202a9ec288ded78771e1f7e4c711a7612b201b9d (diff)
move Asset from crepe::api to crepe
Diffstat (limited to 'src/crepe/Sound.cpp')
-rw-r--r--src/crepe/Sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/Sound.cpp b/src/crepe/Sound.cpp
index c6e87d5..73ad69c 100644
--- a/src/crepe/Sound.cpp
+++ b/src/crepe/Sound.cpp
@@ -5,17 +5,17 @@
using namespace crepe;
-Sound::Sound(std::unique_ptr<api::Asset> res) {
+Sound::Sound(std::unique_ptr<Asset> res) {
dbg_trace();
this->load(std::move(res));
}
Sound::Sound(const char * src) {
dbg_trace();
- this->load(std::make_unique<api::Asset>(src));
+ this->load(std::make_unique<Asset>(src));
}
-void Sound::load(std::unique_ptr<api::Asset> res) {
+void Sound::load(std::unique_ptr<Asset> res) {
this->sample.load(res->canonical());
}