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
5
class
ma_sound;
6
7
namespace
shkyera
{
8
10
struct
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
shkyera
Definition
Asset.hpp:6
shkyera::Sound
Sound instance that manages playback of an audio asset.
Definition
Sound.hpp:10
shkyera::Sound::sound
std::unique_ptr< ma_sound > sound
Raw miniaudio sound instance.
Definition
Sound.hpp:17
shkyera::Sound::~Sound
~Sound()
Definition
Sound.cpp:14
src
AssetManager
Sound.hpp
Generated by
1.9.8
Franciszek Szewczyk © 2023