23 lines
654 B
C++
23 lines
654 B
C++
// Copyright (C) 2023 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
|
|
// This file is part of the "Nazara Engine - Audio module"
|
|
// For conditions of distribution and use, see copyright notice in Config.hpp
|
|
|
|
#include <Nazara/Audio/OpenALDevice.hpp>
|
|
#include <Nazara/Core/Algorithm.hpp>
|
|
#include <Nazara/Audio/Debug.hpp>
|
|
|
|
namespace Nz
|
|
{
|
|
inline bool OpenALDevice::IsExtensionSupported(OpenALExtension extension) const
|
|
{
|
|
return m_extensionStatus[UnderlyingCast(extension)];
|
|
}
|
|
|
|
inline ALenum OpenALDevice::TranslateAudioFormat(AudioFormat format) const
|
|
{
|
|
return m_audioFormatValues[UnderlyingCast(format)];
|
|
}
|
|
}
|
|
|
|
#include <Nazara/Audio/DebugOff.hpp>
|