/Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h
This function can be called before playing or using a SoundWave to check if any cook settings have been modified since this SoundWave was last cooked.
void InvalidateSoundWaveIfNeccessary()