Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ISoundGenerator
Description
Retrieves the next buffer of audio from the generator, called from the audio mixer. Returns the number of samples actually written. The remainder are untouched.
| Name | GetNextBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/SoundGenerator.h |
| Include Path | #include "Sound/SoundGenerator.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SoundGenerator.cpp |
int32 GetNextBuffer
(
float * OutAudio,
int32 NumSamples,
bool bRequireNumberSamples
)