Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Core.hpp
1#pragma once
2
3#include <string>
4#include <vector>
5#include <filesystem>
6#include "Source.hpp"
7#include "al.h"
8#include "alc.h"
9
10namespace Grindstone::Audio {
11 class Core {
12 public:
13 Core();
14 ~Core();
15
16 static Audio::Core& GetInstance();
17 virtual bool GetAvailableDevices(std::vector<std::string>& devicesVec, ALCdevice* device);
18 private:
19 ALCdevice* device = nullptr;
20 ALCcontext* context = nullptr;
21 static Core* instance;
22 };
23}
Definition Core.hpp:11