From 8f705c4b511478bdd49fa3b9ab0f01923aafbab5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 24 May 2013 23:30:34 +0200 Subject: [PATCH] Add code comment. --- src/main/java/net/pterodactylus/sonitus/data/sink/AudioSink.java | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- 2.7.4