diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-01-14 06:55:54 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-01-14 06:55:54 -0800 |
commit | 77bc06eb99edfde27bded5519179d4a0721fb157 (patch) | |
tree | 3018b886b59e03f911dc2aa266a26284a071d3e0 /subsonic-android/src/github | |
parent | 796e1a434cf415d014b317b5c8a0301011f94dcb (diff) | |
download | dsub-77bc06eb99edfde27bded5519179d4a0721fb157.tar.gz dsub-77bc06eb99edfde27bded5519179d4a0721fb157.tar.bz2 dsub-77bc06eb99edfde27bded5519179d4a0721fb157.zip |
Add buffering log since it keeps causing problems
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |