Audio: Add dummy device (in case OpenAL fails to load) and unifiate unit tests

This commit is contained in:
Jérôme Leclercq
2022-03-18 19:03:57 +01:00
parent efa2c0a253
commit 82641c6653
30 changed files with 809 additions and 107 deletions

View File

@@ -28,6 +28,8 @@ namespace Nz
OpenALLibrary(OpenALLibrary&&) = delete;
inline ~OpenALLibrary();
inline bool IsLoaded() const;
bool Load();
std::vector<std::string> QueryInputDevices();
@@ -49,6 +51,7 @@ namespace Nz
std::vector<std::string> ParseDevices(const char* deviceString);
DynLib m_library;
bool m_hasCaptureSupport;
};
}