MCPcopy Create free account
hub / github.com/axmolengine/axmol / GetDebugSeverity

Function GetDebugSeverity

3rdparty/openal/al/debug.cpp:73–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73constexpr std::optional<DebugSeverity> GetDebugSeverity(ALenum severity) noexcept
74{
75 switch(severity)
76 {
77 case AL_DEBUG_SEVERITY_HIGH_EXT: return DebugSeverity::High;
78 case AL_DEBUG_SEVERITY_MEDIUM_EXT: return DebugSeverity::Medium;
79 case AL_DEBUG_SEVERITY_LOW_EXT: return DebugSeverity::Low;
80 case AL_DEBUG_SEVERITY_NOTIFICATION_EXT: return DebugSeverity::Notification;
81 }
82 return std::nullopt;
83}
84
85
86ALenum GetDebugSourceEnum(DebugSource source)

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected