| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package com.drew.metadata.mov.atoms; |
| 22 |
|
| 23 |
import com.drew.lang.SequentialReader; |
| 24 |
import com.drew.lang.annotations.NotNull; |
| 25 |
import com.drew.metadata.mov.media.QuickTimeMusicDirectory; |
| 26 |
|
| 27 |
import java.io.IOException; |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
public class MusicSampleDescriptionAtom extends SampleDescriptionAtom<MusicSampleDescriptionAtom.MusicSampleDescription> |
| 35 |
{ |
| 36 |
public MusicSampleDescriptionAtom(SequentialReader reader, Atom atom) throws IOException |
| 37 |
{ |
| 38 |
super(reader, atom); |
| 39 |
} |
| 40 |
|
| 41 |
@NotNull |
| 42 |
@Override |
| 43 |
MusicSampleDescription getSampleDescription(SequentialReader reader) throws IOException |
| 44 |
{ |
| 45 |
return new MusicSampleDescription(reader); |
| 46 |
} |
| 47 |
|
| 48 |
public void addMetadata(QuickTimeMusicDirectory directory) |
| 49 |
{ |
| 50 |
|
| 51 |
} |
| 52 |
|
| 53 |
static class MusicSampleDescription extends SampleDescription |
| 54 |
{ |
| 55 |
long flags; |
| 56 |
|
| 57 |
public MusicSampleDescription(SequentialReader reader) throws IOException |
| 58 |
{ |
| 59 |
super(reader); |
| 60 |
|
| 61 |
flags = reader.getUInt32(); |
| 62 |
} |
| 63 |
} |
| 64 |
} |