aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/SoundSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/SoundSystem.cpp')
-rw-r--r--src/crepe/SoundSystem.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/crepe/SoundSystem.cpp b/src/crepe/SoundSystem.cpp
index 29bd196..00f874c 100644
--- a/src/crepe/SoundSystem.cpp
+++ b/src/crepe/SoundSystem.cpp
@@ -1,7 +1,6 @@
#include "util/log.h"
#include "SoundSystem.h"
-#include <memory>
using namespace crepe;
@@ -10,16 +9,6 @@ SoundSystem & SoundSystem::instance() {
return instance;
}
-std::unique_ptr<Sound> SoundSystem::sound(const std::string & src) {
- auto res = std::make_unique<api::Resource>(src);
- return SoundSystem::sound(std::move(res));
-}
-
-std::unique_ptr<Sound> SoundSystem::sound(std::unique_ptr<api::Resource> res) {
- Sound * out = new Sound(std::move(res));
- return std::unique_ptr<Sound>(out);
-}
-
SoundSystem::SoundSystem() {
dbg_trace();
engine.init();