RFR: 8308955: MediaPlayer/AudioClip skip data on seek/loop
Ambarish Rapte
arapte at openjdk.org
Thu Jan 25 07:14:38 UTC 2024
On Tue, 23 Jan 2024 03:13:11 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
> This is regression from JDK-8262365. JDK-8262365 introduced support for hardware pause for audio device. For some reason we will skip ~500 ms of audio data after such pause. It is not noticeable for large audio files, but for anything small like sound effects 1-3 seconds long it is noticeable and makes short audio effects unusable without re-creating MediaPlayer after each playback. Fix/workaround is to disable hardware pause. I did not figure out why hardware pause skips audio data.
Marked as reviewed by arapte (Reviewer).
-------------
PR Review: https://git.openjdk.org/jfx/pull/1346#pullrequestreview-1842975437
More information about the openjfx-dev
mailing list