Struct Decoder
Defined in File Decoder.hpp
Struct Documentation
-
struct Decoder
miniaudio decoder wrapper class
Public Functions
-
Decoder()
-
~Decoder()
-
bool init(const std::string &song_path, const std::string &root_path)
init decoder
- Parameters:
song_path – music path
root_path – RootDB path
- Returns:
true
- Returns:
false
-
bool changePos(FRAME_POS Pos)
changes the playback position
- Parameters:
Pos – new position
- Returns:
true
- Returns:
false
Public Members
-
ma_decoder dec
-
Decoder()