|
JPL Spatial
Sound spatialization and propagation library
|
Forward declaration. More...
#include <JPLSpatial/Panning/PannerBase.h>
Public Types | |
| using | Vec3Type = Vec3 |
| using | ChannelGains = std::array< float, MAX_CHANNELS > |
Static Public Member Functions | |
| static float | GetChannelAngle (EChannel channel) |
| static Vec3Type | GetChannelVector (EChannel channel) |
Static Public Attributes | |
| static constexpr auto | MAX_CHANNELS = 32 |
| static constexpr auto | MAX_SOURCE_CHANNELS = 8 |
| static constexpr auto | MAX_CHANNEL_MIX_MAP_SIZE = MAX_SOURCE_CHANNELS * MAX_CHANNELS |
Forward declaration.
Customization. You can either inherit from this and shadow some types and functions, or use a completely separate traits type with VBAP API.
| using JPL::VBAPBaseTraits< Vec3 >::ChannelGains = std::array<float, MAX_CHANNELS> |
| using JPL::VBAPBaseTraits< Vec3 >::Vec3Type = Vec3 |
|
inlinestatic |
Standard channel vectors converted to angles
|
inlinestatic |
Standard channel vectors converted to angles
|
staticconstexpr |
|
staticconstexpr |
Can be useful to override to save a tiny bit of memory if max number of channels ever used is known at compile time. Or to handle larger channel maps. (though currently ChannelMap interface doesn't support 64-bit masks and is not very customizable, e.g. storing in an int mask, not array)
|
staticconstexpr |