|
JPL Spatial
Sound spatialization and propagation library
|
#include <JPLSpatial/ChannelMap.h>
Public Member Functions | |
| constexpr | ChannelMap ()=default |
| constexpr bool | Has (EChannel channel) const noexcept |
| constexpr bool | HasLFE () const noexcept |
| constexpr bool | HasTopChannels () const noexcept |
| constexpr bool | IsValid () const noexcept |
| constexpr uint32 | GetNumChannels () const noexcept |
| constexpr uint32 | GetChannelIndex (EChannel channel) const |
| constexpr EChannel | GetChannelAtIndex (uint32 index) const |
| constexpr uint32 | GetChannelMask () const |
| template<class Predicate > | |
| constexpr void | ForEachChannel (Predicate predicate) const |
| constexpr bool | operator== (const ChannelMap &other) const noexcept |
| constexpr bool | operator!= (const ChannelMap &other) const noexcept |
Static Public Member Functions | |
| static constexpr ChannelMap | FromChannelMask (uint32 channelMask) |
| static constexpr ChannelMap | FromNumChannels (uint32 numChannels) |
Static Public Attributes | |
| static constexpr uint32 | InvalidChannelIndex = ~uint32(0) |
Friends | |
| struct | std::hash< JPL::ChannelMap > |
ChannelMap is just a interface for strongly-typed access to some sort of channel mask
|
constexprdefault |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
friend |