RFR: 8356049: Need a simple way to play back a sound clip [v5]
Phil Race
prr at openjdk.org
Fri May 16 22:09:59 UTC 2025
On Fri, 16 May 2025 21:53:14 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> it depends from the heap, but we may document it similar to what Clip(link above) currently say:
>
> > * The {@code Clip} ........ can load all data prior to playback, instead of being streamed in real time.
>
> at least we should check that similar "big boom" will not happen.
Then that's up to the app to not use such a big file, and its no different than the existing API.
Adding a new way of getting there doesn't require going to fix a long time questionable problem.
And as I wrote before "The Applet case was historically even more constrained (64 Mb heap for applets once upon a time)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24991#discussion_r2093726348
More information about the client-libs-dev
mailing list