~ubuntu-branches/ubuntu/utopic/libjaudiotagger-java/utopic

« back to all changes in this revision

Viewing changes to org/jaudiotagger/audio/AudioHeader.java

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath, Damien Raude-Morvan, Varun Hiremath
  • Date: 2009-04-01 19:17:56 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090401191756-bygniim270guy7o1
Tags: 1.0.9-1
[ Damien Raude-Morvan ]
* New upstream release
* debian/watch: Use java.net repository (which contains new releases!)
* debian/control:
  - Build-Depends on default-jdk-builddep
  - Bump Standards-Version to 3.8.1 (no changes needed)
  - Change section to "java"
* debian/rules: use default-java as JAVA_HOME
* debina/orig-tar.{sh|excludes}: strip audio and others binary files from ZIP
* debian/build.xml:
  - compile with "nowarn" to keep build log readable
  - exclude LogFormatter from build (use com.sun classes)
* debian/ant.properties: new source directory is "src" in orig.tar.gz
* Add myself as Uploaders

[ Varun Hiremath ]
* Accept changes made by Damien Raude-Morvan (Closes: #522130)

Show diffs side-by-side

added added

removed removed

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