This commit is contained in:
Avently
2024-09-06 21:49:53 +09:00
parent 072d547c48
commit a239dee68f
@@ -219,10 +219,10 @@ actual object SoundPlayer: SoundPlayerInterface {
SoundPlayer::class.java.getResource("/media/ring_once.mp3")!!.openStream()!!.use { it.copyTo(tmpFile.outputStream()) }
playing = true
scope.launch {
while (playing && sound) {
//while (playing && sound) {
AudioPlayer.play(CryptoFile.plain(tmpFile.absolutePath), mutableStateOf(true), mutableStateOf(0), mutableStateOf(0), resetOnEnd = true, smallView = false)
//delay(3500)
}
//}
}
}