Class for the openal device and context. More...
#include <sound_singleton.h>
Classes | |
struct | AlcContextDeleter |
struct | AlcDeviceDeleter |
Public Types | |
using | unique_ptr_alcdevice = std::unique_ptr<ALCdevice, AlcDeviceDeleter> |
using | unique_ptr_alccontext = std::unique_ptr<ALCcontext, AlcContextDeleter> |
Public Member Functions | |
bool | init () |
~SoundManagerSingleton () | |
Public Attributes | |
unique_ptr_alcdevice | m_device |
unique_ptr_alccontext | m_context |
Class for the openal device and context.
using sound::SoundManagerSingleton::unique_ptr_alccontext = std::unique_ptr<ALCcontext, AlcContextDeleter> |
using sound::SoundManagerSingleton::unique_ptr_alcdevice = std::unique_ptr<ALCdevice, AlcDeviceDeleter> |
sound::SoundManagerSingleton::~SoundManagerSingleton | ( | ) |
References infostream.
bool sound::SoundManagerSingleton::init | ( | ) |
References errorstream, infostream, m_context, and m_device.
unique_ptr_alccontext sound::SoundManagerSingleton::m_context |
Referenced by init().
unique_ptr_alcdevice sound::SoundManagerSingleton::m_device |
Referenced by init().