Well, I also found this code in reference to the vorbis error we keep getting.
The below is a snippet of code from an OGG import plugin from this github project: GitHub - Geromatic/Unreal-OGG at USoundWave
This code seems to deprecated with the updates of at least 4.23. I can not find references to the FVorbisAudioInfo header file nor the FSoundQualityInfo header. Not to mention in this code InSoundWave->SampleRate is being set, which in the documentation, SampleRate is a protected variable and can not be accessed without using SetSampleRate().
If anyone has any insight to FVorbisAudioInfo that would be great! Can not find it in the documentation.
bool USoundProcessingLibrary::FillSoundWaveInfo(USoundWave* InSoundWave, TArray<uint8>* InRawFile) { // Info Structs FSoundQualityInfo SoundQualityInfo; FVorbisAudioInfo VorbisAudioInfo; // Save the Info into SoundQualityInfo if (!VorbisAudioInfo.ReadCompressedInfo(InRawFile->GetData(), InRawFile->Num(), &SoundQualityInfo)) { return false; } // Fill in all the Data we have InSoundWave->DecompressionType = EDecompressionType::DTYPE_RealTime; InSoundWave->SoundGroup = ESoundGroup::SOUNDGROUP_Default; InSoundWave->NumChannels = SoundQualityInfo.NumChannels; InSoundWave->Duration = SoundQualityInfo.Duration; InSoundWave->RawPCMDataSize = SoundQualityInfo.SampleDataSize; InSoundWave->SampleRate = SoundQualityInfo.SampleRate; return true; }