summaryrefslogtreecommitdiffstats
path: root/lib/class/stream.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r--lib/class/stream.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php
index 1800990d..511f450b 100644
--- a/lib/class/stream.class.php
+++ b/lib/class/stream.class.php
@@ -587,7 +587,7 @@ class Stream {
/* Never Upsample a song */
if (($sample_rate*1000) > $song->bitrate) {
- $sample_rate = self::validate_bitrate($song->bitrate)/1000;
+ $sample_rate = self::validate_bitrate($song->bitrate/1000);
$sample_ratio = '1';
}
else {