FileDocCategorySizeDatePackage
AudioHeader.javaAPI DocJaudiotagger 2.0.41004Wed Mar 30 16:11:54 BST 2011org.jaudiotagger.audio

AudioHeader.java

package org.jaudiotagger.audio;

/**
 * Representation of AudioHeader
 * <p/>
 * <p>Contains info about the Audio Header
 */
public interface AudioHeader
{
    /**
     * @return the audio file type
     */
    public abstract String getEncodingType();

    /**
     * @return the BitRate of the Audio
     */
    public String getBitRate();

    /**
     * @return birate as a number
     */
    public long getBitRateAsNumber();


    /**
     * @return the Sampling rate
     */
    public String getSampleRate();

    /**
     * @return
     */
    public int getSampleRateAsNumber();

    /**
     * @return the format
     */
    public String getFormat();

    /**
     * @return the Channel Mode such as Stereo or Mono
     */
    public String getChannels();

    /**
     * @return if the bitRate is variable
     */
    public boolean isVariableBitRate();

    /**
     * @return track length
     */
    public int getTrackLength();

}