Files
Pulse/Scripts/BackendTemplate/Template.h
2025-11-15 16:33:36 +01:00

19 lines
619 B
C

// Copyright (C) 2025 kbz_8
// This file is part of "Pulse"
// For conditions of distribution and use, see copyright notice in LICENSE
#include <Pulse.h>
#ifdef PULSE_ENABLE_TEMPLATE_BACKEND
#ifndef PULSE_TEMPLATE_H_
#define PULSE_TEMPLATE_H_
#define TEMPLATE_RETRIEVE_DRIVER_DATA_AS(handle, cast) ((cast)handle->driver_data)
PulseBackendFlags TemplateNameCheckSupport(PulseBackendFlags candidates, PulseShaderFormatsFlags shader_formats_used); // Returns corresponding PULSE_BACKEND enum in case of success and PULSE_BACKEND_INVALID otherwise
#endif // PULSE_TEMPLATE_H_
#endif // PULSE_ENABLE_TEMPLATE_BACKEND