| FGCObject
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Sound/SampleBufferIO.h |
Include |
#include "Sound/SampleBufferIO.h" |
class FSoundWavePCMLoader : public FGCObject
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.
Name | Description | |
---|---|---|
|
FSoundWavePCMLoader() |
Name | Description | ||
---|---|---|---|
|
LoadSoundWave ( |
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. |
|
|
Update() |
Update the loading state, should be called on the game thread. |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Pure virtual that must be overloaded by the inheriting class. |
|
|
GetReferencerName() |
Use this method to report a name for your referencer. |