mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-21 11:26:56 +02:00
refactor(subsystems&ime): RAII lifecycle
This commit is contained in:
+8
-3
@@ -3,11 +3,16 @@
|
||||
|
||||
#include "common/abi.h"
|
||||
#include "common/common.h"
|
||||
#include "common/subsystems.h"
|
||||
|
||||
namespace Libs::Audio {
|
||||
|
||||
KYTY_SUBSYSTEM_DEFINE(Audio);
|
||||
void Initialize();
|
||||
void Shutdown();
|
||||
|
||||
struct Lifecycle {
|
||||
static constexpr const char* name = "Audio";
|
||||
static constexpr auto initialize = Libs::Audio::Initialize;
|
||||
static constexpr auto shutdown = Libs::Audio::Shutdown;
|
||||
};
|
||||
|
||||
namespace AudioOut {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user