CriWare Unreal Engine
Plug-ins for CriWare solutions.
読み取り中…
検索中…
一致する文字列を見つけられません
AtomRuntime.cpp ファイル
#include "Atom/AtomRuntime.h"
#include "Engine/World.h"
#include "Engine/Engine.h"
#include "EngineGlobals.h"
#include "GameFramework/WorldSettings.h"
#include "Misc/App.h"
#include "Misc/OutputDeviceArchiveWrapper.h"
#include "Misc/Paths.h"
#include "Runtime/Launch/Resources/Version.h"
#include "CriWareCorePrivate.h"
#include "CriWareCoreSettings.h"
#include "CriWareCoreModule.h"
#include "CriWareUtils.h"
#include "CriWareLLM.h"
#include "CriWareTrace.h"
#include "CriWareFileIo.h"
#include "CriWareMemory.h"
#include "Atom/AtomThread.h"
#include "Atom/AtomConfig.h"
#include "Atom/AtomRack.h"
#include "Atom/AtomBus.h"
#include "Atom/AtomBusEffectPreset.h"
#include "Atom/AtomActiveSound.h"
#include "Atom/AtomComponent.h"
#include "Atom/AtomWaveBank.h"
#include "Atom/AtomWaveBankResource.h"
#include "Atom/AtomSoundWave.h"
#include "Atom/AtomCueSheet.h"
#include "Atom/AtomCueSheetResource.h"
#include "Atom/AtomSoundCue.h"
#include "Atom/AtomAttenuation.h"
#include "Atom/AtomConcurrency.h"
#include "Atom/AtomPluginUtilities.h"
#include "Atom/Interfaces/IAtomActiveSoundUpdate.h"
#include "Atom/Mixer/AtomMixerTrace.h"
#include "Atom/Mixer/AtomMixerSourceManager.h"
#include "Atom/Mixer/AtomMixerSourceVoice.h"
#include "Atom/Mixer/AtomMixerSource.h"
#include "Atom/Mixer/AtomMixerSubmix.h"
#include "Atom/Mixer/AtomMixerPlayer.h"
#include "Atom/Mixer/AtomMixerChannelMaps.h"
#include "Atom/Modulation/AtomModulationSystem.h"
#include "Atom/AtomDebug.h"
#include "Atom/AtomTraceUtil.h"
#include "Atom/Profiling/AtomMonitor.h"

名前空間

namespace  Atom
namespace  AtomRuntimeUtils
namespace  FAtomRuntime_SDK

マクロ定義

#define ATOM_TRACE_ACTIVESOUND   0
#define ATOM_USE_BUS_INDEX   1

型定義

using AtomRuntimeUtils::FVirtualLoopPair = TPair<FAtomActiveSound*, FAtomVirtualLoop>

関数

static FAutoConsoleCommand Atom::AtomDumpBusCmd (TEXT("atom.rack.drawgraph"), TEXT("Draws the Atom rack heirarchy for this world to the debug output"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateLambda([](const TArray< FString > &InArgs, UWorld *InWorld, FOutputDevice &OutLog) { if(InWorld) { if(const FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(InWorld)) { AtomRuntime->DrawRacks(OutLog, InArgs);} } }))
 CSV_DEFINE_CATEGORY_MODULE (CRIWARECORE_API, Atom, false)
FAutoConsoleVariableRef CVarAtomDisableAppVolume (TEXT("atom.DisableAppVolume"), AtomDisableAppVolumeCvar, TEXT("0: App volume enabled, 1: App volume disabled"), ECVF_Default)
FAutoConsoleVariableRef CVarAtomDisableOwnerNotify (TEXT("atom.DisableOwnerNotify"), AtomDisableOwnerNotify, TEXT("0: Enabled, 1: Disabled"), ECVF_Default)
FAutoConsoleVariableRef CVarAtomDisableSubmixMutationLock (TEXT("atom.DisableSubmixMutationLock"), AtomDisableSubmixMutationLockCVar, TEXT("0: Not Disabled (Default), 1: Disabled"), ECVF_Default)
static FAutoConsoleVariableRef CVarAtomMixerDefaultVoicePoolIdentifier (TEXT("atom.MixerDefaultVoicePoolIdentifier"), GAtomMixerDefaultVoicePoolIdentifier, TEXT("Determines the default Atom voice pool identifier for all user defined pools."), ECVF_ReadOnly)
FAutoConsoleVariableRef CVarAtomMixerPatchBufferBlocks (TEXT("atom.PatchBufferBlocks"), AtomMixerPatchBufferBlocks, TEXT("Determines the number of blocks that fit in a patch buffer."), ECVF_Default)
FAutoConsoleVariableRef CVarAtomSoundDistanceOptimizationLength (TEXT("atom.AtomSoundDistanceOptimizationLength"), AtomSoundDistanceOptimizationLengthCVar, TEXT("The maximum duration a sound must be in order to be a candidate to be culled due to one-shot distance optimization.\n"), ECVF_Default)
FAutoConsoleVariableRef CVarDisableAtomBinauralSpatialization (TEXT("atom.DisableBinauralSpatialization"), DisableAtomBinauralSpatializationCVar, TEXT("Disables binaural spatialization.\n"), ECVF_Default)
FAutoConsoleVariableRef CVarEnableAtomBinauralAudioForAllSpatialSounds (TEXT("atom.EnableBinauralAudioForAllSpatialSounds"), EnableAtomBinauralAudioForAllSpatialSoundsCVar, TEXT("Toggles binaural audio rendering for all spatial sounds if binaural rendering is available.\n"), ECVF_Default)
FAutoConsoleVariableRef CVarFlushAtomAudioRenderThreadOnGC (TEXT("atom.FlushAudioRenderThreadOnGC"), FlushAtomAudioRenderThreadOnGCCVar, TEXT("When set to 1, every time the GC runs, we flush all pending Atom audio render thread commands.\n"), ECVF_Default)
FAutoConsoleVariableRef CVarSetAtomMaxDistance (TEXT("atom.MaxWorldDistance"), AtomMaxWorldDistanceCVar, TEXT("Maximum world distance used in audio-related calculations (eg. attenuation).\n"), ECVF_Default)
FAutoConsoleVariableRef CVarSetAtomMaxSources (TEXT("atom.SetAudioChannelCount"), AtomMaxSourcesCVar, TEXT("0: Disable, >0: Enable"), ECVF_Default)
static void Atom::DrawSubmixHeirarchy (UAtomRackBase *InRack, const TSharedPtr< Atom::FMixerSubmix, ESPMode::ThreadSafe > InInstance, const FAtomRuntime *InRuntime, int32 InIdent, FOutputDevice &Ar, const TCHAR *GroupingText)
static void Atom::DrawSubmixInstances (const FMixerSubmix *InRoot, const int32 InIdent, FOutputDevice &InOutput)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomClearSoloAudio (TEXT("atom.Debug.ClearSoloAudio"), TEXT("Clears solo'ed object"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleClearSoloCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldAndArgs Atom::GAtomDebugSound (TEXT("atom.Debug.AtomDebugSound"), TEXT("<filter> Rejects new USoundBase requests where the sound name does not contain the provided filter"), FConsoleCommandWithWorldAndArgsDelegate::CreateStatic([](const TArray< FString > &Args, UWorld *World) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleAtomDebugSound(Args);} }), ECVF_Cheat)
static FAutoConsoleCommand Atom::GAtomDisableHPF (TEXT("atom.Debug.DisableHPF"), TEXT("Disables high-pass filter"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleDisableHPFCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommand Atom::GAtomDisableLPF (TEXT("atom.Debug.DisableLPF"), TEXT("Disables low-pass filter"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleDisableLPFCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomDumpSoundInfo (TEXT("atom.Debug.DumpSoundInfo"), TEXT("Dumps sound information to log"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleDumpSoundInfoCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomGetDynamicSoundVolume (TEXT("atom.Debug.AtomGetDynamicSoundVolume"), TEXT("Gets volume for given sound type ('Category', 'Cue' or 'Wave') with provided name"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &Args, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleGetDynamicSoundVolumeCommand(Args, Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomListAtomComponents (TEXT("atom.Debug.ListAtomComponents"), TEXT("Dumps a detailed list of all AtomComponent objects"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleListAtomComponentsCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomListPlaybacks (TEXT("atom.Debug.ListPlaybacks"), TEXT("List the PlaybackInstances and whether they have a source"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleListPlaybacksCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomListSoundClasses (TEXT("atom.Debug.ListSoundClasses"), TEXT("Lists a summary of loaded sound asset collated by classes"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleListSoundClassesCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomListSoundClassVolumes (TEXT("atom.Debug.ListSoundClassVolumes"), TEXT("Lists all sound class volumes"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleListSoundClassVolumesCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomListSoundDurations (TEXT("atom.Debug.ListSoundDurations"), TEXT("Lists durations of all active sounds"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleListSoundDurationsCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomMemReport (TEXT("atom.Debug.AtomMemReport"), TEXT("Lists info for Atom memory"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &Args, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleAtomMemoryInfo(Args, Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldAndArgs Atom::GAtomMixDebugSound (TEXT("atom.Debug.AtomMixDebugSound"), TEXT("<filter> With new mixer enabled, rejects new USoundBase requests where the sound name does not contain the provided filter"), FConsoleCommandWithWorldAndArgsDelegate::CreateStatic([](const TArray< FString > &Args, UWorld *World) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleAtomMixDebugSound(Args);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomPlayAllPIEAudio (TEXT("atom.Debug.PlayAllPIEAudio"), TEXT("Toggls whether or not all devices should play their audio"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandlePlayAllPIEAtomCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorld Atom::GAtomResetAllDynamicSoundVolumes (TEXT("atom.Debug.AtomResetAllDynamicSoundVolumes"), TEXT("Resets all dynamic volumes to unity"), FConsoleCommandWithWorldDelegate::CreateStatic([](UWorld *World) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleResetAllDynamicSoundVolumesCommand();} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldAndArgs Atom::GAtomResetDynamicSoundVolume (TEXT("atom.Debug.AtomResetDynamicSoundVolume"), TEXT("Resets volume for given sound type ('Class', 'Cue' or 'Wave') with provided name to unity"), FConsoleCommandWithWorldAndArgsDelegate::CreateStatic([](const TArray< FString > &Args, UWorld *World) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleResetDynamicSoundVolumeCommand(Args);} }), ECVF_Cheat)
static FAutoConsoleCommand Atom::GAtomResetSoundState (TEXT("atom.Debug.ResetSoundState"), TEXT("Resets volumes to default and removes test filters"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleResetSoundStateCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomSetBaseSoundRack (TEXT("atom.Debug.SetBaseSoundRack"), TEXT("<MixName> Sets the base sound mix"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &Args, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleSetBaseSoundRackCommand(Args, Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldAndArgs Atom::GAtomSetDynamicSoundVolume (TEXT("atom.Debug.AtomSetDynamicSoundVolume"), TEXT("Name=<name> Type=<type> Vol=<vol> Sets volume for given sound type ('Class', 'Cue' or 'Wave') with provided name"), FConsoleCommandWithWorldAndArgsDelegate::CreateStatic([](const TArray< FString > &Args, UWorld *World) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleSetDynamicSoundCommand(Args);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomShowSoundClassHierarchy (TEXT("atom.Debug.ShowSoundClassHierarchy"), TEXT(""), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleShowSoundClassHierarchyCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomSoloAudio (TEXT("atom.Debug.SoloAudio"), TEXT("Solos the audio device associated with the parent world"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleSoloCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldAndArgs Atom::GAtomSoloSoundClass (TEXT("atom.Debug.AtomSoloSoundClass"), TEXT("<name> [nonexclusive] Solos sounds using this UAtomSoundClass. If nonexclusive, existing solos will persist"), FConsoleCommandWithWorldAndArgsDelegate::CreateStatic([](const TArray< FString > &Args, UWorld *World) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleAtomSoloSoundClass(Args);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldAndArgs Atom::GAtomSoloSoundCue (TEXT("atom.Debug.AtomSoloSoundCue"), TEXT("<name> [nonexclusive] Solos any type of USoundBase. If nonexclusive, existing solos will persist"), FConsoleCommandWithWorldAndArgsDelegate::CreateStatic([](const TArray< FString > &Args, UWorld *World) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleAtomSoloSoundCue(Args);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldAndArgs Atom::GAtomSoloSoundWave (TEXT("atom.Debug.AtomSoloSoundWave"), TEXT("<name> [nonexclusive] Solos USoundWave. If nonexclusive, existing solos will persist"), FConsoleCommandWithWorldAndArgsDelegate::CreateStatic([](const TArray< FString > &Args, UWorld *World) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleAtomSoloSoundWave(Args);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomTestHPF (TEXT("atom.Debug.TestHPF"), TEXT("Sets HPF to max for all sources"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleTestHPFCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommandWithWorldArgsAndOutputDevice Atom::GAtomTestLPF (TEXT("atom.Debug.TestLPF"), TEXT("Sets LPF to max for all sources"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleTestLPFCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommand Atom::GAtomToggleHRTFForAll (TEXT("atom.Debug.ToggleHRTFForAll"), TEXT("Toggles whether or not HRTF spatialization is enabled for all"), FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray< FString > &, UWorld *World, FOutputDevice &Ar) { if(FAtomRuntime *AtomRuntime=FAtomRuntimeManager::GetAtomRuntimeRawFromWorld(World)) { AtomRuntime->HandleEnableHRTFForAllCommand(Ar);} }), ECVF_Cheat)
static FAutoConsoleCommand Atom::GAtomVersionCmd (TEXT("atom.LibraryVersion"), TEXT("Show the ADX Atom library version information."), FConsoleCommandDelegate::CreateStatic([]() { UE_LOG(LogCriWareAtom, Display, TEXT("ADX Atom library version: %s"), *FAtomRuntime::GetAtomLibraryVersionString());}))
void CRIAPI FAtomRuntime_SDK::OnAtomAudioFrameStart (void *Obj)
CriSint32 CRIAPI FAtomRuntime_SDK::OnAtomExBeatSync (void *Obj, const CriAtomExBeatSyncInfo *BeatSyncInfo)
CriSint32 CRIAPI FAtomRuntime_SDK::OnAtomExSequencerEvent (void *Obj, const CriAtomExSequenceEventInfo *EventInfo)

変数

static int32 AtomDisableAppVolumeCvar = 0
static int32 AtomDisableOwnerNotify = 1
static int32 AtomDisableSubmixMutationLockCVar = 0
static int32 AtomMaxSourcesCVar = 0
static float AtomMaxWorldDistanceCVar = UE_OLD_WORLD_MAX
static int32 AtomMixerPatchBufferBlocks = 3
static float AtomSoundDistanceOptimizationLengthCVar = 1.0f
static int32 DisableAtomBinauralSpatializationCVar = 0
static int32 EnableAtomBinauralAudioForAllSpatialSoundsCVar = 0
static int32 FlushAtomAudioRenderThreadOnGCCVar = 0
static int32 GAtomMixerDefaultVoicePoolIdentifier = 1000

マクロ定義詳解

◆ ATOM_TRACE_ACTIVESOUND

#define ATOM_TRACE_ACTIVESOUND   0

◆ ATOM_USE_BUS_INDEX

#define ATOM_USE_BUS_INDEX   1

関数詳解

◆ CSV_DEFINE_CATEGORY_MODULE()

CSV_DEFINE_CATEGORY_MODULE ( CRIWARECORE_API ,
Atom ,
false  )

◆ CVarAtomDisableAppVolume()

FAutoConsoleVariableRef CVarAtomDisableAppVolume ( TEXT("atom.DisableAppVolume") ,
AtomDisableAppVolumeCvar ,
TEXT("0: App volume enabled, 1: App volume disabled") ,
ECVF_Default  )

◆ CVarAtomDisableOwnerNotify()

FAutoConsoleVariableRef CVarAtomDisableOwnerNotify ( TEXT("atom.DisableOwnerNotify") ,
AtomDisableOwnerNotify ,
TEXT("0: Enabled, 1: Disabled") ,
ECVF_Default  )

◆ CVarAtomDisableSubmixMutationLock()

FAutoConsoleVariableRef CVarAtomDisableSubmixMutationLock ( TEXT("atom.DisableSubmixMutationLock") ,
AtomDisableSubmixMutationLockCVar ,
TEXT("0: Not Disabled (Default), 1: Disabled") ,
ECVF_Default  )

◆ CVarAtomMixerDefaultVoicePoolIdentifier()

FAutoConsoleVariableRef CVarAtomMixerDefaultVoicePoolIdentifier ( TEXT("atom.MixerDefaultVoicePoolIdentifier") ,
GAtomMixerDefaultVoicePoolIdentifier ,
TEXT("Determines the default Atom voice pool identifier for all user defined pools.") ,
ECVF_ReadOnly  )
static

◆ CVarAtomMixerPatchBufferBlocks()

FAutoConsoleVariableRef CVarAtomMixerPatchBufferBlocks ( TEXT("atom.PatchBufferBlocks") ,
AtomMixerPatchBufferBlocks ,
TEXT("Determines the number of blocks that fit in a patch buffer.") ,
ECVF_Default  )

◆ CVarAtomSoundDistanceOptimizationLength()

FAutoConsoleVariableRef CVarAtomSoundDistanceOptimizationLength ( TEXT("atom.AtomSoundDistanceOptimizationLength") ,
AtomSoundDistanceOptimizationLengthCVar ,
TEXT("The maximum duration a sound must be in order to be a candidate to be culled due to one-shot distance optimization.\n") ,
ECVF_Default  )

◆ CVarDisableAtomBinauralSpatialization()

FAutoConsoleVariableRef CVarDisableAtomBinauralSpatialization ( TEXT("atom.DisableBinauralSpatialization") ,
DisableAtomBinauralSpatializationCVar ,
TEXT("Disables binaural spatialization.\n") ,
ECVF_Default  )

◆ CVarEnableAtomBinauralAudioForAllSpatialSounds()

FAutoConsoleVariableRef CVarEnableAtomBinauralAudioForAllSpatialSounds ( TEXT("atom.EnableBinauralAudioForAllSpatialSounds") ,
EnableAtomBinauralAudioForAllSpatialSoundsCVar ,
TEXT("Toggles binaural audio rendering for all spatial sounds if binaural rendering is available.\n") ,
ECVF_Default  )

◆ CVarFlushAtomAudioRenderThreadOnGC()

FAutoConsoleVariableRef CVarFlushAtomAudioRenderThreadOnGC ( TEXT("atom.FlushAudioRenderThreadOnGC") ,
FlushAtomAudioRenderThreadOnGCCVar ,
TEXT("When set to 1, every time the GC runs, we flush all pending Atom audio render thread commands.\n") ,
ECVF_Default  )

◆ CVarSetAtomMaxDistance()

FAutoConsoleVariableRef CVarSetAtomMaxDistance ( TEXT("atom.MaxWorldDistance") ,
AtomMaxWorldDistanceCVar ,
TEXT("Maximum world distance used in audio-related calculations (eg. attenuation).\n") ,
ECVF_Default  )

◆ CVarSetAtomMaxSources()

FAutoConsoleVariableRef CVarSetAtomMaxSources ( TEXT("atom.SetAudioChannelCount") ,
AtomMaxSourcesCVar ,
TEXT("0: Disable, >0: Enable") ,
ECVF_Default  )

変数詳解

◆ AtomDisableAppVolumeCvar

int32 AtomDisableAppVolumeCvar = 0
static

◆ AtomDisableOwnerNotify

int32 AtomDisableOwnerNotify = 1
static

◆ AtomDisableSubmixMutationLockCVar

int32 AtomDisableSubmixMutationLockCVar = 0
static

◆ AtomMaxSourcesCVar

int32 AtomMaxSourcesCVar = 0
static

◆ AtomMaxWorldDistanceCVar

float AtomMaxWorldDistanceCVar = UE_OLD_WORLD_MAX
static

◆ AtomMixerPatchBufferBlocks

int32 AtomMixerPatchBufferBlocks = 3
static

◆ AtomSoundDistanceOptimizationLengthCVar

float AtomSoundDistanceOptimizationLengthCVar = 1.0f
static

◆ DisableAtomBinauralSpatializationCVar

int32 DisableAtomBinauralSpatializationCVar = 0
static

◆ EnableAtomBinauralAudioForAllSpatialSoundsCVar

int32 EnableAtomBinauralAudioForAllSpatialSoundsCVar = 0
static

◆ FlushAtomAudioRenderThreadOnGCCVar

int32 FlushAtomAudioRenderThreadOnGCCVar = 0
static

◆ GAtomMixerDefaultVoicePoolIdentifier

int32 GAtomMixerDefaultVoicePoolIdentifier = 1000
static