aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/SubsonicFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
index 9ecaa0e9..68ca5189 100644
--- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
@@ -1202,7 +1202,7 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
} else {
// Otherwise do a calculation for it
// Divide by 1000 so in kbps
- bitrate = (size / duration) / 1000;
+ bitrate = (int) (size / duration) / 1000 * 8;
}
if(Util.isOffline(context)) {