完事
This commit is contained in:
parent
4d87d0d84f
commit
aad1681994
@ -25,15 +25,12 @@ fun main() = runBlocking {
|
||||
|
||||
for (client in clientAudios) {
|
||||
launch(Dispatchers.IO) {
|
||||
val t = measureTimeMillis {
|
||||
for (audio in clientAudios) {
|
||||
if (audio != client)
|
||||
audio.mix(client.sample)
|
||||
//if (audio != client)
|
||||
client.mix(audio.sample)
|
||||
}
|
||||
client.send()
|
||||
}
|
||||
println("server send time: $t")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user