mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
memory-related refactor
This commit is contained in:
parent
f47c7d00a2
commit
c5f663b7cb
16 changed files with 205 additions and 209 deletions
|
|
@ -136,9 +136,8 @@ namespace audio {
|
|||
std::vector<uint> freebuffers;
|
||||
|
||||
uint maxSources = 256;
|
||||
|
||||
ALAudio(ALCdevice* device, ALCcontext* context);
|
||||
public:
|
||||
ALAudio(ALCdevice* device, ALCcontext* context);
|
||||
~ALAudio();
|
||||
|
||||
uint getFreeSource();
|
||||
|
|
@ -164,7 +163,7 @@ namespace audio {
|
|||
return false;
|
||||
}
|
||||
|
||||
static ALAudio* create();
|
||||
static std::unique_ptr<ALAudio> create();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue