Audio: Handle AudioBuffer compatibility

OpenAL buffers are shared between contextes
This commit is contained in:
Jérôme Leclercq
2022-03-17 13:36:09 +01:00
parent 01061380ee
commit 667a4a0c08
10 changed files with 44 additions and 9 deletions

View File

@@ -206,6 +206,11 @@ namespace Nz
return m_library.alGetFloat(AL_SPEED_OF_SOUND);
}
const void* OpenALDevice::GetSubSystemIdentifier() const
{
return &m_library;
}
/*!
* \brief Checks whether the format is supported by the engine
* \return true if it is the case