13 void loadSynchronous();
14 void loadAsynchronous();
16 void setSoundName(std::string soundName);
17 std::string getSoundName()
const;
19 void setEncodedSoundName(std::string path);
20 std::string getEncodedSoundName()
const {
return encodedSoundPath.string(); }
22 void setStreaming(
bool streaming) { m_streaming = streaming; }
23 bool getIsStreaming()
const {
return m_streaming; }
28 std::unique_ptr<sc_sound, SC_SOUND_DELETER> m_sound;
30 std::filesystem::path rawSoundPath;
31 std::filesystem::path encodedSoundPath;
36 RTTR_REGISTRATION_FRIEND