Hi ! I've generated a new project with the Multi p...
# multiplatform
l
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
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
Thank you very much. I'll use expect/actual like in the referenced project 🙂
👍 1