EAudioComponentPlayState

Enum describing the audio component play state.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h

Include

#include "Components/AudioComponent.h"

Syntax

enum EAudioComponentPlayState
{
    Playing,
    Stopped,
    Paused,
    FadingIn,
    FadingOut,
    Count,
}

Values

Name

Description

Playing

If the sound is playing (i.e. not fading in, not fading out, not paused)

Stopped

If the sound is not playing.

Paused

If the sound is playing but paused.

FadingIn

If the sound is playing and fading in.

FadingOut

If the sound is playing and fading out.

Count

Remarks

Enum describing the audio component play state.