|
JPL Spatial
Sound spatialization and propagation library
|
#include <JPLSpatial/Utilities/GainEncoding.h>
Public Member Functions | |
| constexpr | Gain16Bit ()=default |
| JPL_INLINE constexpr | Gain16Bit (float gainNormalized) |
| JPL_INLINE constexpr Gain16Bit & | operator= (float gainNormalized) noexcept |
| JPL_INLINE constexpr | operator float () const noexcept |
Public Attributes | |
| uint16 | Bytes |
Static Public Attributes | |
| static constexpr uint32 | cU16max = (1 << 16) - 1 |
| static constexpr float | cInv = 1.0f / cU16max |
|
constexprdefault |
|
inlineexplicitconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
| uint16 JPL::Gain16Bit::Bytes |