aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/alcontext.h1
-rw-r--r--OpenAL32/Include/alMain.h1
2 files changed, 2 insertions, 0 deletions
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)
};