Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound
Inheritance Hierarchy
- FGCObject
- FSoundWavePCMLoader
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Sound/SampleBufferIO.h |
| Include | #include "Sound/SampleBufferIO.h" |
Syntax
class FSoundWavePCMLoader : public FGCObject
Remarks
FSoundWavePCMLoader This class loads and decodes a USoundWave asset into a TSampleBuffer. To use, call LoadSoundWave with the sound wave you'd like to load and call Update on every tick until it returns true, at which point you may call GetSampleBuffer to get the decoded audio.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | LoadSoundWave
(
USoundWave* InSoundWave, |
Loads a USoundWave, call on game thread. Unless called with bSynchnous set to true, this class will require Update() to be called on the game thread. | |
| void | Update () |
Update the loading state, should be called on the game thread. |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. | |
| FString | Overload this method to report a name for your referencer |