Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
Sound.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4
5class ma_sound;
6
7namespace shkyera {
8
10struct Sound {
11 public:
13 explicit Sound(std::unique_ptr<ma_sound> sound);
14 ~Sound();
15
17 std::unique_ptr<ma_sound> sound;
18};
19
20} // namespace shkyera
Definition Asset.hpp:6
Sound instance that manages playback of an audio asset.
Definition Sound.hpp:10
std::unique_ptr< ma_sound > sound
Raw miniaudio sound instance.
Definition Sound.hpp:17
~Sound()
Definition Sound.cpp:14