Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
shkyera::Sound Struct Reference

Sound instance that manages playback of an audio asset. More...

#include <Sound.hpp>

Public Member Functions

 Sound (std::unique_ptr< ma_sound > sound)
 
 ~Sound ()
 

Public Attributes

std::unique_ptr< ma_soundsound
 Raw miniaudio sound instance.
 

Detailed Description

Sound instance that manages playback of an audio asset.

Constructor & Destructor Documentation

◆ Sound()

shkyera::Sound::Sound ( std::unique_ptr< ma_sound sound)
explicit
Parameters
soundRaw miniaudio sound instance to manage

◆ ~Sound()

shkyera::Sound::~Sound ( )

Member Data Documentation

◆ sound

std::unique_ptr<ma_sound> shkyera::Sound::sound

Raw miniaudio sound instance.


The documentation for this struct was generated from the following files: