diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-09-22 21:13:31 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-09-22 21:13:31 -0700 |
commit | 0ae5f68c6f719b83a1aa21600ed0dfa4d80824d0 (patch) | |
tree | f6cfe75362171e9d326c410e9d92c8b4d82e4c0c | |
parent | 0e54ba2dc6f3c548e954669df94f57d46a34a84c (diff) | |
download | dsub-0ae5f68c6f719b83a1aa21600ed0dfa4d80824d0.tar.gz dsub-0ae5f68c6f719b83a1aa21600ed0dfa4d80824d0.tar.bz2 dsub-0ae5f68c6f719b83a1aa21600ed0dfa4d80824d0.zip |
Improve log message
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index 9c2e2ce5..d008035c 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -1962,12 +1962,12 @@ public class DownloadService extends Service { } float rg_result = ((float) Math.pow(10, (adjust / 20))) * volume; + Log.d(TAG, "Applied volume of " + rg_result + " +- " + adjust); 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) { rg_result = 0.0f; } - Log.d(TAG, "Applied volume of " + rg_result); mediaPlayer.setVolume(rg_result, rg_result); } catch(IOException e) { Log.w(TAG, "Failed to apply replay gain values", e); |