| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| AudioHeader |
|
| 1.0;1 |
| 1 | package org.jaudiotagger.audio; | |
| 2 | ||
| 3 | /** | |
| 4 | * Representation of AudioHeader | |
| 5 | * <p/> | |
| 6 | * <p>Contains info about the Audio Header | |
| 7 | */ | |
| 8 | public interface AudioHeader | |
| 9 | { | |
| 10 | /** | |
| 11 | * @return the audio file type | |
| 12 | */ | |
| 13 | public abstract String getEncodingType(); | |
| 14 | ||
| 15 | /** | |
| 16 | * @return the BitRate of the Audio | |
| 17 | */ | |
| 18 | public String getBitRate(); | |
| 19 | ||
| 20 | /** | |
| 21 | * @return birate as a number | |
| 22 | */ | |
| 23 | public long getBitRateAsNumber(); | |
| 24 | ||
| 25 | ||
| 26 | /** | |
| 27 | * @return the Sampling rate | |
| 28 | */ | |
| 29 | public String getSampleRate(); | |
| 30 | ||
| 31 | /** | |
| 32 | * @return | |
| 33 | */ | |
| 34 | public int getSampleRateAsNumber(); | |
| 35 | ||
| 36 | /** | |
| 37 | * @return the format | |
| 38 | */ | |
| 39 | public String getFormat(); | |
| 40 | ||
| 41 | /** | |
| 42 | * @return the Channel Mode such as Stero or Mono | |
| 43 | */ | |
| 44 | public String getChannels(); | |
| 45 | ||
| 46 | /** | |
| 47 | * @return if the bitrate is variable | |
| 48 | */ | |
| 49 | public boolean isVariableBitRate(); | |
| 50 | ||
| 51 | /** | |
| 52 | * @return track length | |
| 53 | */ | |
| 54 | public int getTrackLength(); | |
| 55 | ||
| 56 | } |