From e3a09df0969d06b9794ec2850d47a5522640eb26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 17 Mar 2013 11:39:53 +0100 Subject: [PATCH] Declare the parameters builder correctly. --- src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Decoder.java | 2 +- src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Encoder.java | 2 +- .../java/net/pterodactylus/sonitus/data/filter/OggVorbisDecoder.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 b2d8ea0..cb23259 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Decoder.java +++ b/src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Decoder.java @@ -68,7 +68,7 @@ public class LameMp3Decoder extends ExternalMp3Decoder { @Override protected Iterable parameters(Metadata metadata) { - ImmutableList.Builder parameters = ImmutableList.builder(); + ImmutableList.Builder parameters = ImmutableList.builder(); parameters.add("--mp3input").add("--decode").add("-t"); if (swapBytes) { parameters.add("-x"); diff --git a/src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Encoder.java b/src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Encoder.java index 98fdd91..85675ce 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Encoder.java +++ b/src/main/java/net/pterodactylus/sonitus/data/filter/LameMp3Encoder.java @@ -139,7 +139,7 @@ public class LameMp3Encoder extends ExternalMp3Encoder { @Override protected Iterable parameters(Metadata metadata) { - ImmutableList.Builder parameters = ImmutableList.builder(); + ImmutableList.Builder parameters = ImmutableList.builder(); parameters.add("-r"); parameters.add("-s").add(String.valueOf(metadata.frequency() / 1000.0)); if (swapBytes) { diff --git a/src/main/java/net/pterodactylus/sonitus/data/filter/OggVorbisDecoder.java b/src/main/java/net/pterodactylus/sonitus/data/filter/OggVorbisDecoder.java index df1e2f1..2cd9035 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/filter/OggVorbisDecoder.java +++ b/src/main/java/net/pterodactylus/sonitus/data/filter/OggVorbisDecoder.java @@ -88,7 +88,7 @@ public class OggVorbisDecoder extends ExternalFilter { @Override protected Iterable parameters(Metadata metadata) { - ImmutableList.Builder parameters = ImmutableList.builder(); + ImmutableList.Builder parameters = ImmutableList.builder(); parameters.add("-R"); if (swapBytes) { parameters.add("-e").add("1"); -- 2.7.4