76 {
78 {
80 return;
81 }
82
83 int tmp = LoadSoundMem(_pass.c_str());
84
85 if (tmp == -1)
86 {
88 return;
89 }
90
91 sounds.emplace(_key, std::make_unique<SoundHandle>(tmp));
94 }
static void PrintAssertStatic(const std::string _in)
エラー出力用コンソール出力(文字色しか変わらない)
Definition Debug.cpp:152
std::unordered_map< std::string, std::string > keyToPath
Definition Sound.cpp:71
std::unordered_map< std::string, std::unique_ptr< SoundHandle > > sounds
Definition Sound.cpp:69
std::unordered_set< std::string > loadedFils
Definition Sound.cpp:70