FOdinChannelMask
Declaration
- Header:
#include "OdinAudio/OdinChannelMask.h" - Module:
Odin - Blueprint: Blueprint type · Blueprint reference
Constructors
| Parameter | Type | Description |
|---|---|---|
InitialMask | uint64 |
Functions
CreateFull
Static
Creates a mask with all 64 channels enabled.
Returns FOdinChannelMask
note
Do not pass a full mask to UOdinEncoder::SetPosition: an encoder can only hold positions for 12 channels, so setting a position for all 64 channels fails with ODIN_ERROR_AUDIO_POSITION_LIMIT_REACHED. Build a mask containing just the channels that are actually transmitted on instead (usually only channel 0).
CreateEmpty
Static
Creates a mask with no channels enabled.
Returns FOdinChannelMask
IsSet
Const
| Parameter | Type | Description |
|---|---|---|
mask | uint64 |
Returns bool
Set
| Parameter | Type | Description |
|---|---|---|
index | int32 | |
set | bool |
Returns uint64
Flip
| Parameter | Type | Description |
|---|---|---|
index | int32 |
Returns uint64
GetChannelMask
Const
Returns uint64
SetChannelMask
Overload 1
| Parameter | Type | Description |
|---|---|---|
mask | uint64 |
Returns uint64
Overload 2
| Parameter | Type | Description |
|---|---|---|
lower | uint32 | |
higher | uint32 |
Returns uint64
Operators
operator[]
Const · Inline
| Parameter | Type | Description |
|---|---|---|
index | int32 |
Returns bool
operator uint64
Const · Inline