Added basic error handling

This commit is contained in:
2025-09-21 18:31:33 +03:00
parent 64a5d19464
commit 4f886574f8
5 changed files with 31 additions and 31 deletions

View File

@@ -114,5 +114,8 @@ private:
friend class Sound;
};
void ThrowOnRuntimeError(std::string message,
ma_result errorType = ma_result::MA_ERROR);
} // namespace ChargeAudio
#endif