projects
/
sonitus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move event and metadata handling into abstract base class.
[sonitus.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sonitus
/
data
/
filter
/
LameMp3Decoder.java
diff --git
a/src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Decoder.java
b/src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Decoder.java
index
17e0973
..
7493b3e
100644
(file)
--- a/
src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Decoder.java
+++ b/
src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Decoder.java
@@
-20,7
+20,6
@@
package net.pterodactylus.sonitus.data.filter;
import net.pterodactylus.sonitus.data.Metadata;
import com.google.common.collect.ImmutableList;
import net.pterodactylus.sonitus.data.Metadata;
import com.google.common.collect.ImmutableList;
-import com.google.common.eventbus.EventBus;
/**
* {@link ExternalMp3Decoder} implementation that uses LAME to decode an MP3.
/**
* {@link ExternalMp3Decoder} implementation that uses LAME to decode an MP3.
@@
-38,13
+37,11
@@
public class LameMp3Decoder extends ExternalMp3Decoder {
/**
* Creates a new LAME MP3 decoder.
*
/**
* Creates a new LAME MP3 decoder.
*
- * @param eventBus
- * The event bus
* @param binary
* The location of the binary
*/
* @param binary
* The location of the binary
*/
- public LameMp3Decoder(
EventBus eventBus,
String binary) {
- super(
eventBus,
"LAME Decoder");
+ public LameMp3Decoder(String binary) {
+ super("LAME Decoder");
this.binary = binary;
}
this.binary = binary;
}