Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USoundWave
Description
This is only used for DTYPE_Procedural audio. It's recommended to use USynthComponent base class for procedurally generated sound vs overriding this function. If a new component is not feasible, consider using USoundWaveProcedural base class vs USoundWave base class since as it implements GeneratePCMData for you and you only need to return PCM data.
Derived Overrides
| Name | GeneratePCMData |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h |
| Include Path | #include "Sound/SoundWave.h" |
virtual int32 GeneratePCMData
(
uint8 * PCMData,
const int32 SamplesNeeded
)