protected class AbstractQuickTimeStream.AudioTrack extends AbstractQuickTimeStream.Track
Modifier and Type | Field and Description |
---|---|
protected int |
soundBytesPerFrame
The number of bytes in a frame: for uncompressed audio, an
uncompressed frame; for compressed audio, a compressed frame.
|
protected int |
soundBytesPerPacket
For uncompressed audio, the number of bytes in a sample for a single
channel.
|
protected int |
soundBytesPerSample
The size of an uncompressed sample in bytes.
|
protected int |
soundCompressionId
Sound compressionId.
|
protected int |
soundNumberOfChannels
Number of sound channels used by the sound sample.
|
protected double |
soundSampleRate
Sound sample rate.
|
protected int |
soundSampleSize
Number of bits per audio sample before compression.
|
protected long |
soundSamplesPerPacket
Sound stsd samples per packet.
|
protected byte[] |
stsdExtensions
Extensions to the stsd chunk.
|
chunks, codec, editList, format, height, inputBuffer, inputTime, matrix, mediaCompressionType, mediaCompressorName, mediaDuration, mediaTimeScale, mediaType, outputBuffer, sampleCount, sampleSizes, syncInterval, syncSamples, timeToSamples, width, writeTime
Constructor and Description |
---|
AudioTrack() |
Modifier and Type | Method and Description |
---|---|
protected void |
writeMediaInformationHeaderAtom(AbstractQuickTimeStream.CompositeAtom minfAtom) |
protected void |
writeSampleDescriptionAtom(AbstractQuickTimeStream.CompositeAtom stblAtom) |
addChunk, addSample, getSampleCount, getTrackDuration, isEmpty, writeMediaInformationAtoms, writeSampleTableAtoms, writeTrackAtoms
protected int soundNumberOfChannels
protected int soundSampleSize
protected int soundCompressionId
protected long soundSamplesPerPacket
protected int soundBytesPerPacket
protected int soundBytesPerFrame
protected int soundBytesPerSample
protected double soundSampleRate
protected byte[] stsdExtensions
protected void writeMediaInformationHeaderAtom(AbstractQuickTimeStream.CompositeAtom minfAtom) throws java.io.IOException
writeMediaInformationHeaderAtom
in class AbstractQuickTimeStream.Track
java.io.IOException
protected void writeSampleDescriptionAtom(AbstractQuickTimeStream.CompositeAtom stblAtom) throws java.io.IOException
writeSampleDescriptionAtom
in class AbstractQuickTimeStream.Track
java.io.IOException