summaryrefslogtreecommitdiffstats
path: root/lib/class/stream.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-27 19:23:45 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-27 19:23:45 +0000
commitfd9c05c61c4523906ec79ff90e1f4688a97b6c1a (patch)
tree28c1317a0d1fc3047ecdf497d893d1fd30eb5929 /lib/class/stream.class.php
parentd943a3f10f8716e41668878be3e4cb5fe716701d (diff)
downloadampache-fd9c05c61c4523906ec79ff90e1f4688a97b6c1a.tar.gz
ampache-fd9c05c61c4523906ec79ff90e1f4688a97b6c1a.tar.bz2
ampache-fd9c05c61c4523906ec79ff90e1f4688a97b6c1a.zip
helps if you return it
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r--lib/class/stream.class.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php
index ba55c601..1f802bd7 100644
--- a/lib/class/stream.class.php
+++ b/lib/class/stream.class.php
@@ -629,6 +629,8 @@ class Stream {
/* Round to standard bitrates */
$sample_rate = 8*(floor($bitrate/8));
+ return $sample_rate;
+
} // validate_bitrate