summaryrefslogtreecommitdiff
path: root/android/src/org/rockbox/RockboxPCM.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/src/org/rockbox/RockboxPCM.java')
-rw-r--r--android/src/org/rockbox/RockboxPCM.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/android/src/org/rockbox/RockboxPCM.java b/android/src/org/rockbox/RockboxPCM.java
index 5ed2a9050d..f77bf3bb8f 100644
--- a/android/src/org/rockbox/RockboxPCM.java
+++ b/android/src/org/rockbox/RockboxPCM.java
@@ -138,15 +138,13 @@ public class RockboxPCM extends AudioTrack
/* 1 sample is 2 bytes, 2 samples are 1 frame */
return (bytes/4);
}
-
- @SuppressWarnings("unused")
+
private int frames2bytes(int frames)
{
/* 1 frame is 2 samples, 1 sample is 2 bytes */
return (frames*4);
}
- @SuppressWarnings("unused")
private void play_pause(boolean pause)
{
RockboxService service = RockboxService.get_instance();
@@ -204,7 +202,6 @@ public class RockboxPCM extends AudioTrack
return super.setStereoVolume(leftVolume, rightVolume);
}
- @SuppressWarnings("unused")
private void set_volume(int volume)
{
Logger.d("java:set_volume("+volume+")");