blob: b24823e0166fba9d45fee2e95e23c9f3019030ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include "TZR_types.h"
#define TZR_PlaySound(...) _TZR_PlaySound(&(const TZR_PlaySoundArgs){ \
.id=0, .loop=0, .volume=1.0f, ._=0, __VA_ARGS__ })
#ifdef TZR_PARANOID
#if __STDC_VERSION__ > 201710L
[[nodiscard]]
#endif
#endif
int _TZR_PlaySound(const TZR_PlaySoundArgs *args);
|