Skip to content

AudioDevice

Class in Engine · Engine.AudioDevice · config, native, transient

Object › Subsystem › AudioDevice

Using it from Lua
h7.find_all("AudioDevice")            -- live instances
h7.find_class("Engine.AudioDevice")   -- the class
h7.hook("Engine.AudioDevice.FindSoundClass", fn)

Enums

EDebugState

DEBUGSTATE_None = 0, DEBUGSTATE_IsolateDryAudio = 1, DEBUGSTATE_IsolateReverb = 2, DEBUGSTATE_TestLPF = 3, DEBUGSTATE_TestStereoBleed = 4, DEBUGSTATE_TestLFEBleed = 5, DEBUGSTATE_DisableLPF = 6, DEBUGSTATE_DisableRadio = 7

ESoundClassName

Master = 0

ETTSSpeaker

TTSSPEAKER_Paul = 0, TTSSPEAKER_Harry = 1, TTSSPEAKER_Frank = 2, TTSSPEAKER_Dennis = 3, TTSSPEAKER_Kit = 4, TTSSPEAKER_Betty = 5, TTSSPEAKER_Ursula = 6, TTSSPEAKER_Rita = 7, TTSSPEAKER_Wendy = 8

Structs

AudioClassInfo

FieldType
NumResidentint
SizeResidentint
NumRealTimeint
SizeRealTimeint

Listener

FieldType
PortalVolumePortalVolume
Locationvector
Upvector
Rightvector
Frontvector
Velocityvector

Properties

NameTypeNotes
AudioComponentsarray<AudioComponent>const, transient
BaseSoundModeNamenameconst, native
bDisableUnrealSetListenerboolno declaration: type is approximate
bGameWasTickingboolconst, native
bSoundSpawningEnabledbooltransient
ChirpInSoundNodeWaveSoundNodeWaveconst
ChirpInSoundNodeWaveNamestringconst, config
ChirpOutSoundNodeWaveSoundNodeWaveconst
ChirpOutSoundNodeWaveNamestringconst, config
CommonAudioPoolpointerconst, native
CommonAudioPoolFreeBytesintconst, native
CommonAudioPoolSizeintconst, config
CurrentModeSoundModeconst, native
CurrentSoundClassesMap
CurrentTickQWORDconst, native
DebugStateEDebugStateconst, native
DestinationSoundClassesMap
Effectspointerconst, native
ExteriorEndTimedoubleconst, native
ExteriorLPFEndTimedoubleconst, native
ExteriorLPFInterpfloatconst, native
ExteriorVolumeInterpfloatconst, native
FreeSourcesarrayconst, native
InteriorEndTimedoubleconst, native
InteriorLPFEndTimedoubleconst, native
InteriorLPFInterpfloatconst, native
InteriorStartTimedoubleconst, native
InteriorVolumeInterpfloatconst, native
LastUpdateTimefloattransient
ListenerInteriorSettingsInteriorSettingsconst, native
Listenersarray<Listener>const, native
ListenerVolumeIndexintconst, native
LowPassFilterResonancefloatconst, config
MaxChannelsintconst, config
MinCompressedDurationEditorfloatconst, config
MinCompressedDurationGamefloatconst, config
SoundClassesMap
SoundModeEndTimedoubleconst, native
SoundModeFadeInEndTimedoubleconst, native
SoundModeFadeInStartTimedoubleconst, native
SoundModesMapconst, native
SoundModeStartTimedoubleconst, native
Sourcesarrayconst, native
SourceSoundClassesMap
TestAudioComponentAudioComponentconst
TextToSpeechpointerconst, native
TransientMasterVolumefloattransient
WaveInstanceSourceMapMapconst, native

Functions

NameDeclaration
FindSoundClassfinal native function SoundClass FindSoundClass(Name SoundClassName)
SetSimpleListenerfunction SetSimpleListener(struct Front, struct Location, struct Right, struct Up, bool bUpdateVelocity) (no declaration: types are approximate)
SetSoundModefinal native function bool SetSoundMode(name NewMode)

Default values

TransientMasterVolume=1.0

Inherited

FromMembers
Subsystem0 properties, 0 functions
Object13 properties, 308 functions