From: David ‘Bombe’ Roden Date: Fri, 24 May 2013 21:30:34 +0000 (+0200) Subject: Add code comment. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8f705c4b511478bdd49fa3b9ab0f01923aafbab5;p=sonitus.git Add code comment. --- diff --git a/src/main/java/net/pterodactylus/sonitus/data/sink/AudioSink.java b/src/main/java/net/pterodactylus/sonitus/data/sink/AudioSink.java index fc4c60c..9bbf6a3 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/sink/AudioSink.java +++ b/src/main/java/net/pterodactylus/sonitus/data/sink/AudioSink.java @@ -47,6 +47,10 @@ public class AudioSink implements Sink { /** The audio output. */ private SourceDataLine sourceDataLine; + // + // SINK METHODS + // + @Override public void open(Metadata metadata) throws IOException { Preconditions.checkArgument(metadata.encoding().equalsIgnoreCase("PCM"), "source must be PCM-encoded");