aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Sound.h')
-rw-r--r--src/crepe/Sound.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/crepe/Sound.h b/src/crepe/Sound.h
index 333465b..163c5b4 100644
--- a/src/crepe/Sound.h
+++ b/src/crepe/Sound.h
@@ -9,8 +9,6 @@
namespace crepe {
-class SoundSystem;
-
class Sound {
public:
/**
@@ -54,15 +52,17 @@ public:
*/
void set_looping(bool looping);
-private:
- friend class SoundSystem;
+public:
+ Sound(const char * src);
Sound(std::unique_ptr<api::Resource> res);
private:
+ void load(std::unique_ptr<api::Resource> res);
+
+private:
std::unique_ptr<api::Resource> res;
SoLoud::Wav sample;
SoLoud::handle handle;
- bool paused;
};
}