org.jaudiotagger.audio.ogg.util
Class OggInfoReader

java.lang.Object
  extended by org.jaudiotagger.audio.ogg.util.OggInfoReader

public class OggInfoReader
extends java.lang.Object

Read encoding info, only implemented for vorbis streams


Field Summary
static java.util.logging.Logger logger
           
 
Constructor Summary
OggInfoReader()
           
 
Method Summary
private  int computeBitrate(int length, long size)
           
 GenericAudioHeader read(java.io.RandomAccessFile raf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static java.util.logging.Logger logger
Constructor Detail

OggInfoReader

public OggInfoReader()
Method Detail

read

public GenericAudioHeader read(java.io.RandomAccessFile raf)
                        throws CannotReadException,
                               java.io.IOException
Throws:
CannotReadException
java.io.IOException

computeBitrate

private int computeBitrate(int length,
                           long size)