From af0ea5af4cb1ee22a02a286802bf91e45077b194 Mon Sep 17 00:00:00 2001 From: No Name Pro Date: Sat, 23 May 2020 14:16:29 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 02aa7f1..dd513f4 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ I don't believe TS3j will need any major adjustments to work in a future Teamspe If you want the latest `-SNAPSHOT`: -``` +```xml jitpack.io @@ -34,7 +34,7 @@ If you want the latest `-SNAPSHOT`: # Connection & Basic Setup -``` +```java client = new LocalTeamspeakClientSocket(); // Set up client @@ -66,7 +66,7 @@ You can interact with the server using the commands on the `client` object simil # Handling chat -``` +```java // TS3Listener interface @Override public void onTextMessage(TextMessageEvent textMessageEvent) { @@ -83,7 +83,7 @@ public void onTextMessage(TextMessageEvent textMessageEvent) { # Sending audio -``` +```java // Microphone interface public void write(float[] buffer, int len) { byte[] opusPacket = doOpusEncodingHere(buffer, len);