aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-23 20:53:49 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-23 20:53:49 -0700
commit78263d8e5a9a303956ab28b3545e57dbb8345d12 (patch)
tree3bc5928a0860a0d4b122a59906a56b6007ec3b03 /src/github/daneren2005
parentafb593f2be23339ec52fb96d8498739c40480f04 (diff)
downloaddsub-78263d8e5a9a303956ab28b3545e57dbb8345d12.tar.gz
dsub-78263d8e5a9a303956ab28b3545e57dbb8345d12.tar.bz2
dsub-78263d8e5a9a303956ab28b3545e57dbb8345d12.zip
Add better log message
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java4
1 files 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) {