diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-10-22 11:35:47 +0200 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-10-22 11:35:47 +0200 |
commit | 176ac90fce318334f1377d94d6e637e1eff84c3c (patch) | |
tree | 104b86fc3537fd82c7b9dd731ee716c51441ca31 /src/crepe/facade/Sound.h | |
parent | edfcb27fe37fdcf08622863f331960325e3899ac (diff) | |
parent | 77555730e3ddb811b9ce8470659663e3f1573de2 (diff) |
Merge branch 'master' into niels/rendering
Diffstat (limited to 'src/crepe/facade/Sound.h')
-rw-r--r-- | src/crepe/facade/Sound.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/crepe/facade/Sound.h b/src/crepe/facade/Sound.h index 2f1c924..b11f871 100644 --- a/src/crepe/facade/Sound.h +++ b/src/crepe/facade/Sound.h @@ -1,12 +1,11 @@ #pragma once -#include <soloud.h> -#include <soloud_wav.h> +#include <soloud/soloud.h> +#include <soloud/soloud_wav.h> #include <memory> -#include "api/Resource.h" -#include "api/baseResource.h" +#include "Asset.h" namespace crepe { @@ -67,10 +66,10 @@ public: public: Sound(const char * src); - Sound(std::unique_ptr<api::Resource> res); + Sound(std::unique_ptr<Asset> res); private: - void load(std::unique_ptr<api::Resource> res); + void load(std::unique_ptr<Asset> res); private: SoLoud::Wav sample; |