diff options
Diffstat (limited to 'src/crepe/Sound.cpp')
-rw-r--r-- | src/crepe/Sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/Sound.cpp b/src/crepe/Sound.cpp index 09ffd5f..136a71d 100644 --- a/src/crepe/Sound.cpp +++ b/src/crepe/Sound.cpp @@ -16,7 +16,7 @@ Sound::Sound(const char * src) { } void Sound::load(std::unique_ptr<api::Resource> res) { - this->sample.load(this->res->canonical()); + this->sample.load(res->canonical()); } void Sound::play() { |