mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 17:13:10 +00:00
only once
This commit is contained in:
1 parent
9693d9e85d
commit
072d547c48
1 file changed
+2
-2
+2
-2
@@ -193,7 +193,7 @@ fun MediaPlayer.seekTo(time: Int) {
|
||||
}
|
||||
|
||||
fun MediaPlayer.start() {
|
||||
controls().start()
|
||||
println("LALAL START ${controls().start()}")
|
||||
}
|
||||
|
||||
fun MediaPlayer.pause() {
|
||||
@@ -221,7 +221,7 @@ actual object SoundPlayer: SoundPlayerInterface {
|
||||
scope.launch {
|
||||
while (playing && sound) {
|
||||
AudioPlayer.play(CryptoFile.plain(tmpFile.absolutePath), mutableStateOf(true), mutableStateOf(0), mutableStateOf(0), resetOnEnd = true, smallView = false)
|
||||
delay(3500)
|
||||
//delay(3500)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user