From 77bc06eb99edfde27bded5519179d4a0721fb157 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 14 Jan 2013 06:55:54 -0800 Subject: Add buffering log since it keeps causing problems --- .../src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java index 730c2f27..c0dc924b 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java @@ -1127,6 +1127,7 @@ public class DownloadServiceImpl extends Service implements DownloadService { long byteCount = Math.max(100000, bitRate * 1024 / 8 * BUFFER_LENGTH_SECONDS); // Find out how large the file should grow before resuming playback. + Log.i(TAG, "Buffering from position " + position + " and bitrate " + bitRate); expectedFileSize = (position * bitRate / 8) + byteCount; } -- cgit v1.2.3