Formatting.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Mar 2013 00:29:57 +0000 (01:29 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Mar 2013 00:29:57 +0000 (01:29 +0100)
src/main/java/net/pterodactylus/sonitus/data/Filter.java
src/main/java/net/pterodactylus/sonitus/data/sink/AudioSink.java
src/main/java/net/pterodactylus/sonitus/io/OggVorbisIdentifier.java

index 897da01..d0bad5d 100644 (file)
@@ -22,6 +22,6 @@ package net.pterodactylus.sonitus.data;
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
-public interface Filter extends Source, Sink{
+public interface Filter extends Source, Sink {
 
 }
index 2ef61e0..1e4f6ec 100644 (file)
@@ -32,8 +32,8 @@ import net.pterodactylus.sonitus.data.Sink;
 import net.pterodactylus.sonitus.data.Source;
 
 /**
- * {@link Sink} implementation that uses the JDK’s {@link javax.sound.sampled.AudioSystem} to play all {@link
- * net.pterodactylus.sonitus.data.Source}s.
+ * {@link Sink} implementation that uses the JDK’s {@link
+ * javax.sound.sampled.AudioSystem} to play all {@link net.pterodactylus.sonitus.data.Source}s.
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
@@ -54,6 +54,7 @@ public class AudioSink implements Sink {
                        sourceDataLine.open(audioFormat);
                        sourceDataLine.start();
                        new Thread(new Connection(source) {
+
                                @Override
                                protected int bufferSize() {
                                        return sourceFormat.channels() * sourceFormat.frequency() * 2;
@@ -70,8 +71,7 @@ public class AudioSink implements Sink {
                                        sourceDataLine.stop();
                                }
                        }).start();
-               }
-               catch (LineUnavailableException lue1) {
+               } catch (LineUnavailableException lue1) {
                        throw new ConnectException(lue1);
                }
        }
index f70a432..49daa27 100644 (file)
@@ -31,10 +31,8 @@ import com.jcraft.jorbis.Comment;
 import com.jcraft.jorbis.Info;
 
 /**
- * Identifies Ogg Vorbis files.
- * <p>
- * All knowledge used in this class has been taken from <a
- * href="http://www.jcraft.com/jorbis/tutorial/Tutorial.html">jcraft.com/jorbis/tutorial/Tutorial.html</a>.
+ * Identifies Ogg Vorbis files. <p> All knowledge used in this class has been
+ * taken from <a href="http://www.jcraft.com/jorbis/tutorial/Tutorial.html">jcraft.com/jorbis/tutorial/Tutorial.html</a>.
  * </p>
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>