Audio: Add an option to directly link OpenAL

This commit is contained in:
SirLynix
2022-12-06 07:48:03 +01:00
parent 98cf8b3d33
commit 2dd0e7d9c8
9 changed files with 218 additions and 175 deletions

View File

@@ -7,6 +7,12 @@
namespace Nz
{
inline OpenALLibrary::OpenALLibrary() :
m_hasCaptureSupport(false),
m_isLoaded(false)
{
}
inline OpenALLibrary::~OpenALLibrary()
{
Unload();
@@ -14,7 +20,7 @@ namespace Nz
inline bool OpenALLibrary::IsLoaded() const
{
return m_library.IsLoaded();
return m_isLoaded;
}
}