mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
16 lines
359 B
C
16 lines
359 B
C
#include <Pulse.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
int main(void)
|
|
{
|
|
PulseDevice device = PulseCreateDevice(PULSE_BACKEND_ANY, PULSE_SHADER_FORMAT_SPIRV_BIT, PULSE_NO_DEBUG);
|
|
if(device == PULSE_NULL_HANDLE)
|
|
{
|
|
fprintf(stderr, "Error while loading Pulse: %s", PulseVerbaliseErrorType(PulseGetLastErrorType()));
|
|
return 1;
|
|
}
|
|
PulseDestroyDevice(device);
|
|
return 0;
|
|
}
|