Move event and metadata handling into abstract base class.
[sonitus.git] / src / main / java / net / pterodactylus / sonitus / data / filter / OggVorbisDecoder.java
index d98abe1..b142fdd 100644 (file)
@@ -25,7 +25,6 @@ import java.io.IOException;
 import net.pterodactylus.sonitus.data.Metadata;
 
 import com.google.common.collect.ImmutableList;
-import com.google.common.eventbus.EventBus;
 
 /**
  * Ogg Vorbis decoder that uses {@code oggdec} (from the {@code vorbis-tools}
@@ -44,13 +43,11 @@ public class OggVorbisDecoder extends ExternalFilter {
        /**
         * Creates a new Ogg Vorbis decoder.
         *
-        * @param eventBus
-        *              The event bus
         * @param binary
         *              The location of the binary
         */
-       public OggVorbisDecoder(EventBus eventBus, String binary) {
-               super(eventBus, "Ogg Vorbis Decoder");
+       public OggVorbisDecoder(String binary) {
+               super("Ogg Vorbis Decoder");
                this.binary = binary;
        }