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/crepe/Sound.cpp | |
parent | f4bb6d57cc88a7e25b3a5f43faafa49a7f500b7c (diff) |
rename Resource to Asset
Diffstat (limited to 'src/crepe/Sound.cpp')
-rw-r--r-- | src/crepe/Sound.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/Sound.cpp b/src/crepe/Sound.cpp index 1758282..c6e87d5 100644 --- a/src/crepe/Sound.cpp +++ b/src/crepe/Sound.cpp @@ -5,17 +5,17 @@ using namespace crepe; -Sound::Sound(std::unique_ptr<api::Resource> res) { +Sound::Sound(std::unique_ptr<api::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<api::Asset>(src)); } -void Sound::load(std::unique_ptr<api::Resource> res) { +void Sound::load(std::unique_ptr<api::Asset> res) { this->sample.load(res->canonical()); } |