JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
ChannelConversion.h File Reference
#include "JPLSpatial/Core.h"
#include "JPLSpatial/ErrorReporting.h"
#include "JPLSpatial/ChannelMap.h"
#include "JPLSpatial/Memory/Memory.h"
#include <array>
#include <bit>
#include <vector>
#include <utility>

Go to the source code of this file.

Classes

class  JPL::ChannelConversionWeights
 Utility helper to access 2D array kind of weights. More...
 

Namespaces

namespace  JPL
 

Functions

JPL_INLINE constexpr float JPL::CalculateChannelPositionRectangularWeight (uint32 channelPositionA, uint32 channelPositionB)
 
JPL_INLINE constexpr int JPL::ToChannelPos (EChannel channel) noexcept
 

Variables

constexpr std::array< std::array< float, 6 >, 22 > JPL::cChannelPlaneRatios
 Implementation adapted from David Reid's https://github.com/mackron/miniaudio.