working on software backend

This commit is contained in:
2025-03-04 00:13:32 +01:00
parent 8c7b2bb44f
commit 211700b955
19 changed files with 539 additions and 32 deletions

View File

@@ -2,6 +2,8 @@
// This file is part of "Pulse"
// For conditions of distribution and use, see copyright notice in LICENSE
#include <cpuinfo.h>
#include <Pulse.h>
#include "../../PulseInternal.h"
@@ -21,11 +23,13 @@ bool SoftLoadBackend(PulseBackend backend, PulseDebugLevel debug_level)
{
PULSE_UNUSED(backend);
PULSE_UNUSED(debug_level);
cpuinfo_initialize();
return true;
}
void SoftUnloadBackend(PulseBackend backend)
{
cpuinfo_deinitialize();
free(backend->driver_data);
}