From 90775ea50a60ab2e9a5ab038caa033c5d34b67cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 28 May 2013 12:57:24 +0200 Subject: [PATCH] Change format metadata output format. --- src/main/java/net/pterodactylus/sonitus/data/FormatMetadata.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sonitus/data/FormatMetadata.java b/src/main/java/net/pterodactylus/sonitus/data/FormatMetadata.java index 8e0f1f5..22fd271 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/FormatMetadata.java +++ b/src/main/java/net/pterodactylus/sonitus/data/FormatMetadata.java @@ -156,7 +156,7 @@ public class FormatMetadata { @Override public String toString() { - return String.format("%d Channel%s, %d Hz, %s", channels(), channels() != 1 ? "s" : "", frequency(), encoding()); + return String.format("%s kHz, %d Channel%s, %s", frequency() / 1000.0, channels(), channels() != 1 ? "s" : "", encoding()); } } -- 2.7.4