RFR: 8356049: Need a simple way to play back a sound clip [v5]

Sergey Bylokhov serb at openjdk.org
Fri May 16 21:56:53 UTC 2025


On Fri, 16 May 2025 21:01:13 GMT, Phil Race <prr at openjdk.org> wrote:

>> But then you may get exactly the same bug we discussed recently about converting midi files into audio stream and loading all that into the memory.
>
>> But then you may get exactly the same bug we discussed recently about converting midi files into audio stream and loading all that into the memory.
> 
> I think that shows that you can't document what small is

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.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24991#discussion_r2093714330


More information about the client-libs-dev mailing list