Audio API first pass

This commit is contained in:
2023-01-17 10:13:08 -08:00
parent 2950bc9184
commit 9168348e6b
27 changed files with 513 additions and 95 deletions

View File

@ -0,0 +1,25 @@
// Copyright (c) 2023 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include "dawnlibs.hpp"
#include "assert/assert.hpp"
namespace Dawn {
class DawnGame;
class IAudioManager {
public:
DawnGame *game;
IAudioManager(DawnGame *game) {
assertNotNull(game);
this->game = game;
}
virtual void init() = 0;
virtual void update() = 0;
};
}