diff options
author | Chris Robinson <[email protected]> | 2019-01-09 00:31:57 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-01-09 00:31:57 -0800 |
commit | b49c45d3a462a16c72bd824cd40e3b37d6e31939 (patch) | |
tree | d80009176043cf1593088eea28ccbcefcfb66f01 /OpenAL32/Include | |
parent | 673983dc5d05e8b47958c95f12dba3d7a915edfa (diff) |
Add prefixes for ALCdevice and ALCcontext
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 1 |
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) }; |