1 | package org.farng.mp3.id3; |
2 | |
3 | /** |
4 | * <h3>4.6. MPEG location lookup table</h3> |
5 | * <p/> |
6 | * <p> To increase performance and accuracy of jumps within a MPEG [MPEG]<br> |
7 | * <p/> |
8 | * audio file, frames with time codes in different locations in the file<br> might be useful. |
9 | * This ID3v2 frame includes references that the<br> software can use to calculate positions in the file. |
10 | * After the frame<br> header follows a descriptor of how much the 'frame counter' should be<br> |
11 | * increased for every reference. If this value is two then the first<br> |
12 | * <p/> |
13 | * reference points out the second frame, the 2nd reference the 4th<br> frame, the 3rd |
14 | * reference the 6th frame etc. In a similar way the<br> 'bytes between reference' and 'milliseconds |
15 | * between reference' points<br> out bytes and milliseconds respectively.</p> |
16 | * <p/> |
17 | * <p> Each reference consists of two parts; a certain number of bits, as<br> defined in 'bits |
18 | * for bytes deviation', that describes the difference<br> between what is said in 'bytes between |
19 | * reference' and the reality and<br> a certain number of bits, as defined in 'bits for milliseconds<br> |
20 | * deviation', that describes the difference between what is said in<br> |
21 | * <p/> |
22 | * 'milliseconds between reference' and the reality. The number of bits<br> in every |
23 | * reference, i.e. 'bits for bytes deviation'+'bits for<br> milliseconds deviation', must be a multiple of |
24 | * four. There may only<br> be one "MLLT" frame in each tag.</p> |
25 | * <p/> |
26 | * <p> <Header for 'Location lookup table', ID: "MLLT"><br> |
27 | * MPEG frames between reference $xx xx<br> Bytes between |
28 | * reference $xx xx xx<br> |
29 | * <p/> |
30 | * Milliseconds between reference $xx xx xx<br> Bits for bytes |
31 | * deviation $xx<br> Bits for milliseconds |
32 | * dev. $xx</p> |
33 | * <p/> |
34 | * <p> Then for every reference the following data is included;</p> |
35 | * <p/> |
36 | * <p> Deviation in bytes %xxx....<br> |
37 | * Deviation in milliseconds %xxx....<br> </p> |
38 | * |
39 | * @author Eric Farng |
40 | * @version $Revision: 1.3 $ |
41 | */ |
42 | public class FrameBodyMLLT extends AbstractID3v2FrameBody { |
43 | |
44 | /** |
45 | * Creates a new FrameBodyMLLT object. |
46 | */ |
47 | public FrameBodyMLLT() { |
48 | super(); |
49 | } |
50 | |
51 | /** |
52 | * Creates a new FrameBodyMLLT object. |
53 | */ |
54 | public FrameBodyMLLT(final FrameBodyMLLT body) { |
55 | super(body); |
56 | } |
57 | |
58 | protected void setupObjectList() { |
59 | throw new UnsupportedOperationException("This frame has not been implemented."); |
60 | } |
61 | |
62 | public String getIdentifier() { |
63 | throw new UnsupportedOperationException("This frame has not been implemented."); |
64 | } |
65 | } |