#include <JPLSpatial/Services/PanningService.h>
◆ FlatMapType
◆ PanData
◆ PanDataWithOrientation
◆ PannerTraits
◆ PannerType
◆ SourceLayout
◆ Vec3Type
◆ PanningService() [1/2]
◆ PanningService() [2/2]
◆ CreateChannelGainsFor() [1/2]
◆ CreateChannelGainsFor() [2/2]
◆ CreatePannerFor()
Create panner for the target ChannelMap if it doesn't exist yet
- Returns
- panner for the requrested channel map, or nullptr if target channel map is invalid
◆ CreatePanningDataFor()
Low level API Mainly internal functions used by high level API. May be used at user's discression to bypass high level API.
◆ EvaluateDirection()
Process channel gains for the source for all target channel maps initialized for it.
- Parameters
-
| position | position of the source relative to listener |
- Returns
- false if the source hanlde is invalid, true otherwise
◆ GetChannelGainsFor()
- Returns
- channel mix map gains for the source and target channel map, empty span if source targets have never been added to the source. The span contains the gains evaluated at the last call of EvaluateDirection
◆ GetPannerFor()
- Returns
- panner for the target ChannelMap if it exists,
nullptr otherwise
◆ GetPanningDataFor()
◆ GetSourceLayoutFor()
◆ InitializePanningEffect()
High level API.
Initialize panning effect with a source channel map and optional target channel maps. This can also be called to assign different target channel maps to the source.
- Returns
- handle for the panning effect interface, which may be invalid if failed to initialize data, e.g. if the source channel map is not valid.
◆ operator=()
◆ ReleasePanningEffect()
Release any data associated with the source handle.
- Returns
- true if anything was cleared, false if no data was associated with the handle
◆ SetPanningEffectParameters()
Set parameters for the panning effect to be used when EvaluateDirection is called
- Returns
- true if effect handle is valid and the parameters were set, false otherwise
◆ SetPanningEffectSpread()
Set spread parameter for the panning effect to be used when EvaluateDirection is called
- Returns
- true if effect handle is valid and the spead value was set, false otherwise
The documentation for this class was generated from the following file: