gtreshchev / RuntimeAudioImporter

Runtime Audio Importer plugin for Unreal Engine. Importing audio of various formats at runtime.
MIT License
308 stars 67 forks source link

(Wiki) Importing audio has new parameters #44

Closed creosB closed 11 months ago

creosB commented 11 months ago

The 'EAudioFormat' parameter does not exist in newer versions. It has been replaced with the 'ERuntimeAudioFormat' parameter.

RuntimeAudioImporter->ImportAudioFromFile(TEXT("C:/Folder/Example.mp3"), EAudioFormat::Auto);

The correct line should be:

RuntimeAudioImporter->ImportAudioFromFile(TEXT("C:/Folder/Example.mp3"), ERuntimeAudioFormat::Auto);

wiki page

Extras: If you are using old versions, the 'ETranscodingStatus' parameter has been replaced with the 'ERuntimeImportStatus' parameter.

gtreshchev commented 11 months ago

Thanks for pointing this out, should be fixed!