Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USoundWave
Description
Returns this SoundWave's CuePoints array with the frame values scaled by InSampleRate / ImportedSampleRate to account for resampling of the sound wave source data. If no resampling is necessary, returns the CuePoints as-is.
| Name | GetCuePointsScaledForSampleRate |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h |
| Include Path | #include "Sound/SoundWave.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SoundWave.cpp |
TArray < FSoundWaveCuePoint > GetCuePointsScaledForSampleRate
(
const float InSampleRate
) const
CuePoints array scaled if resampling occurred
Parameters
| Name | Remarks |
|---|---|
| InSampleRate | The sample rate the SoundWave |