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

« back to all changes in this revision

Viewing changes to org/jaudiotagger/tag/id3/valuepair/EventTimingTypes.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
 
/**
2
 
 * @author : Paul Taylor
3
 
 * <p/>
4
 
 * Version @version:$Id: EventTimingTypes.java,v 1.3 2007/08/06 16:04:36 paultaylor Exp $
5
 
 * <p/>
6
 
 * Jaudiotagger Copyright (C)2004,2005
7
 
 * <p/>
8
 
 * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
9
 
 * General Public  License as published by the Free Software Foundation; either version 2.1 of the License,
10
 
 * or (at your option) any later version.
11
 
 * <p/>
12
 
 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
13
 
 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
 
 * See the GNU Lesser General Public License for more details.
15
 
 * <p/>
16
 
 * You should have received a copy of the GNU Lesser General Public License ainteger with this library; if not,
17
 
 * you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
18
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
 
 * <p/>
20
 
 * Description:
21
 
 */
22
 
package org.jaudiotagger.tag.id3.valuepair;
23
 
 
24
 
import org.jaudiotagger.tag.datatype.AbstractIntStringValuePair;
25
 
 
26
 
public class EventTimingTypes extends AbstractIntStringValuePair
27
 
{
28
 
    private static EventTimingTypes eventTimingTypes;
29
 
 
30
 
    public static EventTimingTypes getInstanceOf()
31
 
    {
32
 
        if (eventTimingTypes == null)
33
 
        {
34
 
            eventTimingTypes = new EventTimingTypes();
35
 
        }
36
 
        return eventTimingTypes;
37
 
    }
38
 
 
39
 
    private EventTimingTypes()
40
 
    {
41
 
        idToValue.put(0x00, "Padding (has no meaning)");
42
 
        idToValue.put(0x01, "End of initial silence");
43
 
        idToValue.put(0x02, "Intro start");
44
 
        idToValue.put(0x03, "Main part start");
45
 
        idToValue.put(0x04, "Outro start");
46
 
        idToValue.put(0x05, "Outro end");
47
 
        idToValue.put(0x06, "Verse start");
48
 
        idToValue.put(0x07, "Refrain start");
49
 
        idToValue.put(0x08, "Interlude start");
50
 
        idToValue.put(0x09, "Theme start");
51
 
        idToValue.put(0x0A, "Variation start");
52
 
        idToValue.put(0x0B, "Key change");
53
 
        idToValue.put(0x0C, "Time change");
54
 
        idToValue.put(0x0D, "Momentary unwanted noise (Snap, Crackle & Pop)");
55
 
        idToValue.put(0x0E, "Sustained noise");
56
 
        idToValue.put(0x0F, "Sustained noise end");
57
 
        idToValue.put(0x10, "Intro end");
58
 
        idToValue.put(0x11, "Main part end");
59
 
        idToValue.put(0x12, "Verse end");
60
 
        idToValue.put(0x13, "Refrain end");
61
 
        idToValue.put(0x14, "Theme end");
62
 
        idToValue.put(0x15, "Profanity");
63
 
        idToValue.put(0x16, "Profanity end");
64
 
        idToValue.put(0xFD, "Audio end (start of silence)");
65
 
        idToValue.put(0xFE, "Audio file ends");
66
 
 
67
 
        createMaps();
68
 
    }
69
 
}