diff options
author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-22 11:14:00 -0400 |
---|---|---|
committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-22 11:14:00 -0400 |
commit | ac2868abc09e16485cd6806866067f7d7c082dff (patch) | |
tree | 164529d22bd66a976044f6f2aecfef96c39fb4cb /engine/xe_sound_device.hpp | |
parent | add openal lib (diff) | |
download | minecraftvulkan-ac2868abc09e16485cd6806866067f7d7c082dff.tar.gz minecraftvulkan-ac2868abc09e16485cd6806866067f7d7c082dff.tar.bz2 minecraftvulkan-ac2868abc09e16485cd6806866067f7d7c082dff.zip |
start implementing openal soft
Diffstat (limited to 'engine/xe_sound_device.hpp')
-rw-r--r-- | engine/xe_sound_device.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/engine/xe_sound_device.hpp b/engine/xe_sound_device.hpp new file mode 100644 index 0000000..a6a034e --- /dev/null +++ b/engine/xe_sound_device.hpp @@ -0,0 +1,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; + +}; + +}
\ No newline at end of file |