This commit is contained in:
2025-04-13 20:31:43 +02:00
parent 34d5b9a921
commit 9b71757a44
8 changed files with 547 additions and 13 deletions

View File

@@ -7,6 +7,10 @@
#include <Pulse.h>
#include "../../PulseInternal.h"
#ifdef __STDC_NO_ATOMICS__
#error "Atomic support is not present"
#endif
#include "Soft.h"
#include "SoftDevice.h"

View File

@@ -9,10 +9,6 @@
#ifndef PULSE_SOFTWARE_H_
#define PULSE_SOFTWARE_H_
#ifdef __STDC_NO_ATOMICS__
#error "Atomic support is not present"
#endif
#define SOFT_RETRIEVE_DRIVER_DATA_AS(handle, cast) ((cast)handle->driver_data)
PulseBackendFlags SoftCheckSupport(PulseBackendFlags candidates, PulseShaderFormatsFlags shader_formats_used); // Return PULSE_BACKEND_SOFTWARE in case of success and PULSE_BACKEND_INVALID otherwise