RuntimeAudioImporter icon indicating copy to clipboard operation
RuntimeAudioImporter copied to clipboard

(Suggestion)Can you add a blueprint that plays in the background when the software loses focus?

Open i12cu84 opened this issue 3 months ago • 1 comments

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)

i12cu84 avatar Mar 08 '24 09:03 i12cu84