mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
working on software backend
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user