| 71 | } |
| 72 | |
| 73 | constexpr 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 | |
| 86 | ALenum GetDebugSourceEnum(DebugSource source) |
no outgoing calls
no test coverage detected