Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/tuneology/avm/TocEntry.java


1   /*
2     NativeCD.java
3   
4     Copyright (C) 2002 Fran Taylor
5   
6     This file is part of java-avm.
7   
8     java-avm is free software; you can redistribute it and/or modify it
9     under the terms of the GNU Lesser General Public License as
10    published by the Free Software Foundation; either version 2 of the
11    License, or (at your option) any later version.
12  
13    java-avm is distributed in the hope that it will be useful, but
14    WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16    Lesser General Public License for more details.
17  
18    You should have received a copy of the GNU Lesser General Public
19    License along with java-avm; if not, write to the Free Software
20    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21    USA
22  
23    $Id: TocEntry.java,v 1.3 2002/11/05 08:08:05 xnarf Exp $
24  
25  */
26  
27  package com.tuneology.avm;
28  
29  /** 
30   * Describes a track on a CD, including CD-TEXT info, if present. 
31   *
32   * @version $Id: TocEntry.java,v 1.3 2002/11/05 08:08:05 xnarf Exp $
33   * 
34   * @author Fran Taylor
35   */
36  public class TocEntry {
37      public TocEntry() { }
38      /** the type of the track */
39      public int typ;
40      /** the format of the track */
41      public int format;
42      /** the adr field for the track */
43      public int adr;
44      /** the mode of the track */
45      public int mode;
46      // public int min, sec;
47      /** the index of the beginning of the track */
48      public int frame;
49      /** the length of the track in 1/75 secs */
50      public int len;
51      /** the track number */
52      public int track;
53      /** the ISRC entry for the track */
54      public String isrc;
55      /** read from CD-TEXT, if present */
56      public String artist;
57      /** read from CD-TEXT, if present */
58      public String album;
59      /** read from CD-TEXT, if present */
60      public String title;
61      /** bit rate, in bits/second */
62      public int rate;
63      public long fileSize;
64      public String comment;
65      public String arranger;
66      public String songwriter;
67      public String genre;
68      public int year;
69      public DiscInfo info;
70  }
71  
72  /*
73    Local Variables:
74    mode:java
75    indent-tabs-mode:nil 
76    c-basic-offset:4 
77    c-indent-level:4 
78    c-continued-statement-offset:4 
79    c-brace-offset:-4 
80    c-brace-imaginary-offset:-4 
81    c-argdecl-indent:0
82    c-label-offset:0
83    End:
84  */