#include <Sound.hpp>
|
using | Mix_ChunkPtr = std::unique_ptr< Mix_Chunk, decltype(&Mix_FreeChunk)> |
|
Definition at line 25 of file Sound.hpp.
§ Mix_ChunkPtr
§ Sound() [1/2]
§ Sound() [2/2]
gk::Sound::Sound |
( |
const std::string & |
filename | ) |
|
§ openFromFile()
void gk::Sound::openFromFile |
( |
const std::string & |
filename | ) |
|
§ play()
§ repeat()
void gk::Sound::repeat |
( |
u16 |
delay | ) |
|
§ setChannel()
void gk::Sound::setChannel |
( |
int |
channel | ) |
|
|
inline |
§ setVolume()
void gk::Sound::setVolume |
( |
int |
volume | ) |
|
|
inline |
§ m_channel
int gk::Sound::m_channel = -1 |
|
private |
§ m_sfx
§ m_timer
§ m_volume
int gk::Sound::m_volume = MIX_MAX_VOLUME |
|
private |
§ s_lastUsedChannel
int gk::Sound::s_lastUsedChannel = -1 |
|
staticprivate |
The documentation for this class was generated from the following files: