RFR: 8356049: Need a simple way to play back a sound clip [v5]
Phil Race
prr at openjdk.org
Fri May 16 18:39:58 UTC 2025
On Wed, 14 May 2025 04:01:17 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> I picked SoundClip because AudioClip over AudioClip for a few reasons. Mapping to the Sound API name for one and because there's already an AudioClip. "Player" might be construed as a UI component.
>
> Could having both javax.sound.SoundClip and javax.sound.sampled.Clip cause confusion?
I don't see a big problem here. Naming is a choice and SoundClip is a sensible choice here and anything else would just be a different choice which someone else might disagree with.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24991#discussion_r2093518982
More information about the client-libs-dev
mailing list