From b49c45d3a462a16c72bd824cd40e3b37d6e31939 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 9 Jan 2019 00:31:57 -0800 Subject: Add prefixes for ALCdevice and ALCcontext --- Alc/alcontext.h | 1 + OpenAL32/Include/alMain.h | 1 + 2 files changed, 2 insertions(+) diff --git a/Alc/alcontext.h b/Alc/alcontext.h index 77ba8910..42c29ecb 100644 --- a/Alc/alcontext.h +++ b/Alc/alcontext.h @@ -134,6 +134,7 @@ struct ALCcontext { ALCcontext& operator=(const ALCcontext&) = delete; ~ALCcontext(); + static constexpr inline const char *CurrentPrefix() noexcept { return "ALCcontext::"; } DEF_NEWDEL(ALCcontext) }; diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 9934a193..7f7013aa 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -740,6 +740,7 @@ struct ALCdevice { ALsizei channelsFromFmt() const noexcept { return ChannelsFromDevFmt(FmtChans, mAmbiOrder); } ALsizei frameSizeFromFmt() const noexcept { return bytesFromFmt() * channelsFromFmt(); } + static constexpr inline const char *CurrentPrefix() noexcept { return "ALCdevice::"; } DEF_NEWDEL(ALCdevice) }; -- cgit v1.2.3