aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-01-09 00:31:57 -0800
committerChris Robinson <[email protected]>2019-01-09 00:31:57 -0800
commitb49c45d3a462a16c72bd824cd40e3b37d6e31939 (patch)
treed80009176043cf1593088eea28ccbcefcfb66f01 /OpenAL32/Include/alMain.h
parent673983dc5d05e8b47958c95f12dba3d7a915edfa (diff)
Add prefixes for ALCdevice and ALCcontext
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h1
1 files changed, 1 insertions, 0 deletions
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)
};