Struct Decoder
Defined in File Decoder.hpp
Struct Documentation
-
struct Decoder
miniaudio decoder wrapper class
Public Functions
-
Decoder()
-
~Decoder()
-
bool init(litedb &db, const SANITIZED_ORNOT &KeyOrPath)
init decoder
- Parameters:
litedb – database
KeyOrPath – you can use music’s path or music’s key data in database
- Returns:
true
- Returns:
false
-
bool changePos(FRAME_POS Pos)
changes the playback position
- Parameters:
Pos – new position
- Returns:
true
- Returns:
false
-
Decoder()