RuntimeAudioImporter
RuntimeAudioImporter copied to clipboard
(Suggestion)Can you add a blueprint that plays in the background when the software loses focus?
At present, my environment is UE 5.2.1, which can be used normally after packing Android, but it cannot play audio in the background of Android. I went to the UE forum and looked it up. I tried a lot of things, but it didn't work.
For example, the following method: 1.To manipulate the file: Defaultengin.ini and BaseEngine.ini are added [Audio] UnfocusedVolumeMultiplier=1.0 2.UE project setting Level Editor -> Miscellaneous -> Sound -> Allow Background Audio (tick) 3.UE BlueprintFunctionLibrary to Cpp code UFUNCTION(BlueprintCallable, Category = "") static float SetSUVM() { FApp::SetUnfocusedVolumeMultiplier(1.0f); return FApp::GetUnfocusedVolumeMultiplier(); }
...emmm,I might need your help?
A UE(5.2.1) based music player written by me as a hobby (I will open source it on github sometime)
I have uploaded it here https://github.com/i12cu84/UPlayer