Hi! I am using KorAU right now and wonder why the ...
# korau
g
Hi! I am using KorAU right now and wonder why the following program does not stop on JVM.
Copy code
runBlocking {
    WAV.decode(Res.readBytes("files/mySound.wav"))!!.toSound().play()
}
Here
Res.readBytes("files/mySound.wav")
is a usage of Compose Multiplatform Resources to get byte array of the sound I am playing. Despite the fact that
runBlocking
finishes its work, the program still is running.