Hi ! I've generated a new project with the Multi platform wizard. But I'm searching a way to play a WAV file at least for Desktop (windows and linux) and Android : is there a way to do that ? Particularly, in Android there's the Jetpack Exoplayer but is it compatible with Desktop ? Also if not, is it possible to call javax.sound classes from desktop base code ?
c
chi
05/01/2024, 6:50 PM
I think you need to use an expect/actual and use exoplayer on Android and a different dependency for desktop. You can check out this project
https://github.com/SEAbdulbasit/MusicApp-KMP
👍 1
l
loloof64
05/02/2024, 6:25 AM
Thank you very much. I'll use expect/actual like in the referenced project 🙂