UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ISoundHandleSystem.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
8class USoundBase;
9
10namespace Audio
11{
13
14 enum class EResult : uint8
15 {
16 Success = 0,
17 Failure = 1,
19 };
20}
21
81
@ INDEX_NONE
Definition CoreMiscDefines.h:150
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint8_t uint8
Definition binka_ue_file_header.h:8
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition NameTypes.h:617
Definition IModularFeature.h:12
static CORE_API IModularFeatures & Get()
Definition ModularFeatures.cpp:9
virtual void UnlockModularFeatureList()=0
TArray< TModularFeature * > GetModularFeatureImplementations(const FName Type)
Definition IModularFeatures.h:68
virtual void LockModularFeatureList()=0
Definition ISoundHandleOwner.h:13
Definition ISoundHandleSystem.h:26
virtual Audio::FSoundHandleID CreateSoundHandle(USoundBase *Sound, ISoundHandleOwner *Owner)
This should create a sound and we should map it to an identifier. Then return the identifier to the o...
Definition ISoundHandleSystem.h:48
virtual ~ISoundHandleSystem()=default
static FName GetModularFeatureName()
Definition ISoundHandleSystem.h:32
static TArray< ISoundHandleSystem * > GetRegisteredInterfaces()
Definition ISoundHandleSystem.h:72
virtual Audio::EResult Play(Audio::FSoundHandleID ID)
Play the sound that is represented by the sound handle with the following ID.
Definition ISoundHandleSystem.h:63
virtual void SetTransform(Audio::FSoundHandleID ID, const FTransform &Transform)
Set the transform on the sound that is represented by the sound handle with the following ID.
Definition ISoundHandleSystem.h:56
virtual void Stop(Audio::FSoundHandleID ID)
Stop the sound that is represented by the sound handle with the following ID.
Definition ISoundHandleSystem.h:70
Definition Array.h:670
Definition SoundBase.h:109
NO_LOGGING.
Definition AudioMixerPlatformAndroid.cpp:53
uint32 FSoundHandleID
Definition ISoundHandleSystem.h:12
EResult
Definition ISoundHandleSystem.h:15