Luanti 5.16.0-dev
Loading...
Searching...
No Matches
SoundManagerSingleton Class Reference

Class for the openal device and context. More...

#include <sound_singleton.h>

Collaboration diagram for SoundManagerSingleton:

Classes

struct  AlcDeviceDeleter
struct  AlcContextDeleter

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

Detailed Description

Class for the openal device and context.

Member Typedef Documentation

◆ unique_ptr_alccontext

◆ unique_ptr_alcdevice

Constructor & Destructor Documentation

◆ ~SoundManagerSingleton()

Member Function Documentation

◆ init()

Member Data Documentation

◆ m_context

◆ m_device


The documentation for this class was generated from the following files: