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 {
11 class EngineCore;
12
13 namespace Audio {
14 class Core {
15 public:
16 Core();
17 ~Core();
18
19 void SetEngineCorePtr(EngineCore* engineCore);
20 static Audio::Core& GetInstance();
21 virtual bool GetAvailableDevices(std::vector<std::string>& devicesVec, ALCdevice* device);
22 EngineCore* engineCore = nullptr;
23 private:
24 ALCdevice* device = nullptr;
25 ALCcontext* context = nullptr;
26 static Core* instance;
27 };
28 }
29}
Definition Core.hpp:14
Definition EngineCore.hpp:57