Skip to content

Commit

Permalink
🐛 fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
MeLike2D committed Mar 20, 2021
1 parent 9f792d9 commit 14fb664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Server/src/main/kotlin/obsidian/server/io/MagmaClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ class MagmaClient(
return
}

logger.info("Our latency between the voice websocket is ${System.currentTimeMillis() - lastHeartbeat!!}ms")
logger.debug("Voice WebSocket latency is ${System.currentTimeMillis() - lastHeartbeat!!}ms")
}

override suspend fun heartbeatDispatched(nonce: Long) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ class FilterChain(val link: Link) {
* Applies all enabled filters to the player.
*/
fun apply() {
if (enabled.isNotEmpty()) {
link.player.setFilterFactory(getFilterFactory())
}
link.player.setFilterFactory(getFilterFactory())
}

inner class FilterFactory : PcmFilterFactory {
Expand Down

0 comments on commit 14fb664

Please sign in to comment.