audioheader.java

来自「YOYOPlayer MP3播放器 java+JMF实现」· Java 代码 · 共 67 行

JAVA
67
字号
package com.hadeslee.audiotag.audio;

/**
 * Representation of AudioHeader
 *
 * <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 Stero or Mono
     */
    public String getChannels();

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

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

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?