1
0
Fork 0
forked from len0rd/rockbox

Android: Fix a few java warnings. Upgrade ndk platform to 2.0 (don't support 1.6 anymore).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30293 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2011-08-14 08:55:16 +00:00
parent 5c6fe5da9c
commit c6ca81329a
4 changed files with 4 additions and 9 deletions

View file

@ -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+")");