aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/AudioSource.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-14 11:10:31 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-14 11:10:31 +0100
commit6e13510f3c6d4155707f748d237bb1fa05243450 (patch)
treeb21ca972d14aac56b7c58c85c54d8a2fd1278a7e /src/crepe/api/AudioSource.h
parent319d511135da1b58acb78ca939d7ee01fee4bbf3 (diff)
parentbe1e97bc7a494963ab1567492fafcda99e36f683 (diff)
merge `master` into `loek/audio`
Diffstat (limited to 'src/crepe/api/AudioSource.h')
-rw-r--r--src/crepe/api/AudioSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/AudioSource.h b/src/crepe/api/AudioSource.h
index fd2b6f1..5bc70f9 100644
--- a/src/crepe/api/AudioSource.h
+++ b/src/crepe/api/AudioSource.h
@@ -11,7 +11,7 @@ namespace crepe {
//! Audio source component
class AudioSource : public Component {
public:
- AudioSource(game_object_id_t id, std::unique_ptr<Asset> audio_clip);
+ AudioSource(game_object_id_t id, const Asset & source);
virtual ~AudioSource() = default;
public: