Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Sound/SoundWaveProcedural.h |
Include |
#include "Sound/SoundWaveProcedural.h" |
class USoundWaveProcedural : public USoundWave
Name | Description | ||
---|---|---|---|
|
NumBufferUnderrunSamples |
Number of samples to pad with 0 if there isn't enough audio available. |
|
|
NumSamplesToGeneratePerCallback |
The number of PCM samples we want to generate. This can't be larger than SamplesNeeded in GeneratePCMData callback, but can be less. |
|
|
OnSoundWaveProceduralUnderflow |
Called when GeneratePCMData is called but not enough data is available. |
|
|
SampleByteSize |
Size in bytes of a single sample of audio in the procedural audio buffer. |
Name | Description | |
---|---|---|
|
USoundWaveProcedural ( |
Name | Description | ||
---|---|---|---|
|
GetAvailableAudioByteCount() |
Query bytes queued for playback |
|
|
OnGeneratePCMAudio |
Virtual function to generate PCM audio from the audio render thread. |
|
|
QueueAudio |
Add data to the FIFO that feeds the audio device. |
|
|
ResetAudio() |
Remove all queued data from the FIFO. |
Name | Description | ||
---|---|---|---|
|
BeginGetCompressedData ( |
||
|
GeneratePCMData |
This is only used for DTYPE_Procedural audio. |
|
|
FByteBulkDat... |
GetCompressedData ( |
Gets the compressed data from derived data cache for the specified platform Warning, the returned pointer isn't valid after we add new formats |
|
GetResourceSizeForFormat ( |
||
|
HasCompressedData ( |
||
|
InitAudioResource ( |
Copy the compressed audio data from the bulk data |
|
|
InitAudioResource ( |
Copy the compressed audio data from derived data cache |
Name | Description | ||
---|---|---|---|
|
GetAssetRegistryTags ( |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |