https://kotlinlang.org logo
Title
b

Balaviknesh Sekar

03/21/2022, 8:30 PM
Hi guys, I'm not sure how to play sound files in compose desktop. I tried Javax library but it has very limited features. I believe currently there is no support for playing sounds but any idea when we will get that feature ?!
g

gildor

03/22/2022, 7:25 AM
It's up to your platform and not really related on compose directly, I doubt such API would ever be a part of compose There are different pure Java soutions for audio playback, you should check what is fitting your requirements
👍🏻 2
👍 1
s

S.

03/22/2022, 12:01 PM
b

Balaviknesh Sekar

03/22/2022, 3:31 PM
Thank you @gildor
Thank you @S. for sharing this.
b

Brian Guertin

03/22/2022, 4:30 PM
Another option is libGDX's sound API which itself wraps OpenAL on desktop.