diff options
author | Chris Robinson <[email protected]> | 2020-04-13 23:19:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-04-13 23:27:56 -0700 |
commit | 02d7fbfa0c3a24457b199688f9e6672ea253be14 (patch) | |
tree | 70805b41f126c3a465d66745a4e7e30f3394e10d /alc/alu.h | |
parent | 1d8ac4d61f5717c02e253a741175b037db97de4e (diff) |
Use standard attribute declarations
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -9,7 +9,6 @@ #include "alcmain.h" #include "alspan.h" -#include "logging.h" struct ALbufferlistitem; struct ALeffectslot; @@ -152,7 +151,7 @@ inline std::array<float,MAX_AMBI_CHANNELS> GetAmbiIdentityRow(size_t i) noexcept void aluMixData(ALCdevice *device, void *OutBuffer, const ALuint NumSamples, const size_t FrameStep); /* Caller must lock the device state, and the mixer must not be running. */ -void aluHandleDisconnect(ALCdevice *device, const char *msg, ...) DECL_FORMAT(printf, 2, 3); +[[gnu::format(printf,2,3)]] void aluHandleDisconnect(ALCdevice *device, const char *msg, ...); extern const float ConeScale; extern const float ZScale; |