mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
yes
This commit is contained in:
@@ -21,9 +21,6 @@ bool SoftLoadBackend(PulseBackend backend, PulseDebugLevel debug_level)
|
||||
{
|
||||
PULSE_UNUSED(backend);
|
||||
PULSE_UNUSED(debug_level);
|
||||
SoftDriverData* driver_data = (SoftDriverData*)calloc(1, sizeof(SoftDriverData));
|
||||
PULSE_CHECK_ALLOCATION_RETVAL(driver_data, false);
|
||||
SoftwareDriver.driver_data = driver_data;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,10 +11,6 @@
|
||||
|
||||
#define SOFTWARE_RETRIEVE_DRIVER_DATA_AS(handle, cast) ((cast)handle->driver_data)
|
||||
|
||||
typedef struct SoftDriverData
|
||||
{
|
||||
} SoftDriverData;
|
||||
|
||||
PulseBackendFlags SoftCheckSupport(PulseBackendFlags candidates, PulseShaderFormatsFlags shader_formats_used); // Return PULSE_BACKEND_SOFTWARE in case of success and PULSE_BACKEND_INVALID otherwise
|
||||
|
||||
#endif // PULSE_SOFTWARE_H_
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
|
||||
typedef struct SoftDevice
|
||||
{
|
||||
PulseCommandList* available_command_lists;
|
||||
uint32_t available_command_lists_capacity;
|
||||
uint32_t available_command_lists_size;
|
||||
} SoftDevice;
|
||||
|
||||
PulseDevice SoftCreateDevice(PulseBackend backend, PulseDevice* forbiden_devices, uint32_t forbiden_devices_count);
|
||||
|
||||
Reference in New Issue
Block a user