Exploratory house cleaning

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@611 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Charlie Groves
2008-08-07 18:11:31 +00:00
parent 3122ae7e65
commit 1949014c76
6 changed files with 38 additions and 35 deletions
@@ -43,7 +43,7 @@ import com.jcraft.jorbis.Info;
*/
public class OggStreamDecoder extends StreamDecoder
{
// documentation inherited
@Override
public void init (InputStream in)
throws IOException
{
@@ -84,19 +84,19 @@ public class OggStreamDecoder extends StreamDecoder
_offsets = new int[_info.channels];
}
// documentation inherited
@Override
public int getFormat ()
{
return (_info.channels == 1) ? AL10.AL_FORMAT_MONO16 : AL10.AL_FORMAT_STEREO16;
}
// documentation inherited
@Override
public int getFrequency ()
{
return _info.rate;
}
// documentation inherited
@Override
public int read (ByteBuffer buf)
throws IOException
{