-
-
Notifications
You must be signed in to change notification settings - Fork 23.8k
Description
Tested versions
- Reproducible in: 4.5.1
System information
Godot v4.5.1.stable - Deepin 23.1 beige on X11 - X11 display driver, Multi-window, 2 monitors - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 5060 - Intel(R) Core(TM) i5-14450HX (16 threads) - 31.13 GiB memory
Issue description
I use AudioEffectCapture to implement audio recording and write audio data into a WAV file in real time. After exporting the project to Android (versions 16, 15 and 11; One UI 8, 7 and MIUI 12), when I open the app for the first time and perform multiple recordings, all the generated WAV files can be played normally.
However, when I close the app and reopen it to record, I find that: every time the app is reopened, the WAV file generated by the first recording has normal content, but the files generated by subsequent recordings are all repetitions of the last frame of the audio data from the first recording after reopening the app, repeated several times, only with the correct duration.
The above issue does not occur when exporting to iOS.
Steps to reproduce
- Check the "use gradle build" in Android export options, and export the project to an Android phone;
- Accept the record audio permission request, and press the button to record, release it to finish;
- Close the APP, reopen it and perform recording multiple times.
- All WAV files can be found in your "Download" directory,
- Comparing the files generated by recording each time the app is opened, it is found that the content of subsequent recordings are repetitions of the last frame of the first recording.
Minimal reproduction project (MRP)
Metadata
Metadata
Assignees
Type
Projects
Status
Status