class

MAudioStatics

Reflected façade over the AudioEngine singleton, so the bus mixer and fire-and-forget playback show up as Visual Script nodes without annotating the whole miniaudio-laden engine. Every method forwards to AudioEngine::Get() and is a safe no-op when the engine is not initialized. Stateless — a Visual Script graph can call these on any instance the VM hands it.

Module
Audio
Header
#include "Audio/MAudioStatics.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

ReturnsNameDescription
voidSetBusVolumeout-of-range calls are ignored.
floatGetBusVolume
voidSetMasterVolume
floatGetMasterVolume
voidPlaySound2DOne-shot 2D playback on the given bus (see AudioEngine::PlayOneShot).
voidPlaySoundAtLocationOne-shot spatial playback positioned at (x,y,z) on the given bus.
voidStopAllSounds
voidSetAudioParameterRTPC (FAudioParameters): a named game value every bound source, submix and MetaSound input follows, gliding over its smoothing time.
floatGetAudioParameter
voidSetAudioParameterSmoothing
int32_tGetAudibleSoundCountAcoustic compass (AudioEngine::QueryAudible): the sounds the listener hears at or above minLoudness, loudest first.
floatGetAudibleSoundAzimuth
floatGetAudibleSoundLoudness
std::stringGetAudibleSoundCaption

Function details

SetBusVolume

C++
void SetBusVolume(int32_t bus, float volume)

out-of-range calls are ignored.

GetBusVolume

C++
float GetBusVolume(int32_t bus) const

SetMasterVolume

C++
void SetMasterVolume(float volume)

GetMasterVolume

C++
float GetMasterVolume() const

PlaySound2D

C++
void PlaySound2D(const std::string& clipPath, float volume)

One-shot 2D playback on the given bus (see AudioEngine::PlayOneShot).

PlaySoundAtLocation

C++
void PlaySoundAtLocation(const std::string& clipPath, float x, float y, float z, float volume)

One-shot spatial playback positioned at (x,y,z) on the given bus.

StopAllSounds

C++
void StopAllSounds()

SetAudioParameter

C++
void SetAudioParameter(const std::string& name, float value)

RTPC (FAudioParameters): a named game value every bound source, submix and MetaSound input follows, gliding over its smoothing time.

GetAudioParameter

C++
float GetAudioParameter(const std::string& name) const

SetAudioParameterSmoothing

C++
void SetAudioParameterSmoothing(const std::string& name, float seconds)

GetAudibleSoundCount

C++
int32_t GetAudibleSoundCount(float minLoudness) const

Acoustic compass (AudioEngine::QueryAudible): the sounds the listener hears at or above minLoudness, loudest first. Index past the end reads 0 / empty.

GetAudibleSoundAzimuth

C++
float GetAudibleSoundAzimuth(int32_t index, float minLoudness) const

GetAudibleSoundLoudness

C++
float GetAudibleSoundLoudness(int32_t index, float minLoudness) const

GetAudibleSoundCaption

C++
std::string GetAudibleSoundCaption(int32_t index, float minLoudness) const
Generated from Audio/MAudioStatics.h via audio.json · Oct 26, 2026Version 1.0.0