25 #ifndef SFML_AUDIODEVICE_HPP 26 #define SFML_AUDIODEVICE_HPP 31 #include <SFML/Audio/OpenAL.hpp> 58 static AudioDevice& GetInstance();
64 static void AddReference();
70 static void RemoveReference();
78 ALCdevice* GetDevice()
const;
88 ALenum GetFormatFromChannelsCount(
unsigned int ChannelsCount)
const;
107 static AudioDevice* ourInstance;
113 ALCcontext* myContext;
114 unsigned int myRefCount;
122 #endif // SFML_AUDIODEVICE_HPP