aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/Sound.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-22 11:35:47 +0200
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-22 11:35:47 +0200
commit176ac90fce318334f1377d94d6e637e1eff84c3c (patch)
tree104b86fc3537fd82c7b9dd731ee716c51441ca31 /src/crepe/facade/Sound.cpp
parentedfcb27fe37fdcf08622863f331960325e3899ac (diff)
parent77555730e3ddb811b9ce8470659663e3f1573de2 (diff)
Merge branch 'master' into niels/rendering
Diffstat (limited to 'src/crepe/facade/Sound.cpp')
-rw-r--r--src/crepe/facade/Sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/facade/Sound.cpp b/src/crepe/facade/Sound.cpp
index e1150ac..64fa281 100644
--- a/src/crepe/facade/Sound.cpp
+++ b/src/crepe/facade/Sound.cpp
@@ -5,17 +5,17 @@
using namespace crepe;
-Sound::Sound(std::unique_ptr<api::Resource> 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::Resource>(src));
+ this->load(std::make_unique<Asset>(src));
}
-void Sound::load(std::unique_ptr<api::Resource> res) {
+void Sound::load(std::unique_ptr<Asset> res) {
this->sample.load(res->canonical());
}