From 78263d8e5a9a303956ab28b3545e57dbb8345d12 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Tue, 23 Sep 2014 20:53:49 -0700 Subject: Add better log message --- src/github/daneren2005/dsub/service/DownloadService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index 7f822c58..702a2b2f 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -357,7 +357,7 @@ public class DownloadService extends Service { } private void addToDownloadList(DownloadFile file, int offset) { if(offset == -1) { - downloadList.add(downloadList); + downloadList.add(file); } else { downloadList.add(offset, file); } @@ -1987,7 +1987,7 @@ public class DownloadService extends Service { } float rg_result = ((float) Math.pow(10, (adjust / 20))) * volume; - Log.d(TAG, "Applied volume of " + rg_result + " +- " + adjust); + Log.d(TAG, "Applied volume of " + rg_result + " +- " + adjust + " (" + singleAlbum + ")"); if (rg_result > 1.0f) { rg_result = 1.0f; /* android would IGNORE the change if this is > 1 and we would end up with the wrong volume */ } else if (rg_result < 0.0f) { -- cgit v1.2.3