aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Sound.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-29 16:37:12 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-29 16:37:12 +0200
commite4a3ef6e324acc8edf9f0797caa244967907a676 (patch)
tree1d468048ada38f8c9cee1501e169b78efda9d7b7 /src/crepe/Sound.cpp
parentfeea4cbb648d67e46b413880ddbf203c88c2a2b1 (diff)
implement audio poc using facade classes
Diffstat (limited to 'src/crepe/Sound.cpp')
-rw-r--r--src/crepe/Sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crepe/Sound.cpp b/src/crepe/Sound.cpp
index 94f97af..181366a 100644
--- a/src/crepe/Sound.cpp
+++ b/src/crepe/Sound.cpp
@@ -8,6 +8,7 @@ using namespace crepe;
Sound::Sound(std::unique_ptr<api::Resource> res) {
dbg_trace();
this->res = std::move(res);
+ this->sample.load(this->res->canonical());
}
void Sound::play() {