1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#pragma once #include <AL/alc.h> #include <AL/alext.h> #include <AL/al.h> namespace xe { class XeSoundDevice { public: XeSoundDevice(); ~XeSoundDevice(); private: void listAudioDevices(const ALCchar* devices); ALCdevice* device; ALCcontext* context; }; }