FAudioDevice::StopSoundsUsingResource

Stop any playing sounds that are using a particular SoundWave

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AudioDevice.h

Include

#include "AudioDevice.h"

Source

/Engine/Source/Runtime/Engine/Private/AudioDevice.cpp

Syntax

void StopSoundsUsingResource
(
    USoundWave * SoundWave,
    TArray< UAudioComponent * > * StoppedComponents
)

Remarks

Stop any playing sounds that are using a particular SoundWave

Parameters

Parameter

Description

SoundWave

Resource to stop any sounds that are using it

StoppedComponents

List of Audio Components that were stopped

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss