Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound > API/Runtime/Engine/Sound/USoundWave
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h |
| Include | #include "Sound/SoundWave.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SoundWave.cpp |
void ScaleCuePointsForSampleRate
(
const float InSampleRate,
TArray < FSoundWaveCuePoint > & InOutCuePoints
) const
Remarks
Modifies the InOutCuePoints array with the frame values scaled by InSampleRate / ImportedSampleRate to account for resampling of the sound wave source data. Does not modify InOutCuePoints if no resampling is necessary
Parameters
| Name | Description |
|---|---|
| InSampleRate | The sample rate the SoundWave |
| InOutCuePoints | The CuePoints array to re-scale |