org.mp4parser.boxes.apple.AppleWaveBox Maven / Gradle / Ivy
Show all versions of isoparser Show documentation
package org.mp4parser.boxes.apple;
import org.mp4parser.support.AbstractContainerBox;
/**
* 4cc = "{@value #TYPE}"
* siDecompressionParam Atom ('wave')
* The siDecompressionParam atom provides the ability to store data specific to a given audio decompressor in the
* SoundDescription record. As example, some audio decompression algorithms, such as Microsoft’s ADPCM, require a
* set of out-of-band values to configure the decompressor. These are stored in an atom of this type.
* This atom contains other atoms with audio decompressor settings and is a required extension to the sound sample
* description for MPEG-4 audio. A 'wave' chunk for 'mp4a' typically contains (in order) at least a 'frma' atom, an
* 'mp4a' atom, an 'esds' atom, and a “Terminator Atom (0x00000000)” atom.
* The contents of other siDecompressionParam atoms are dependent on the audio decompressor.
*
* - Size - An unsigned 32-bit integer holding the size of the decompression parameters atom
* - Type - An unsigned 32-bit field containing the four-character code 'wave'
* - TrackExtension atoms - Atoms containing the necessary out-of-band decompression parameters for the sound decompressor.
* For MPEG-4 audio ('mp4a'), this includes elementary stream descriptor ('esds'), format ('frma'), and terminator atoms.
*
* Possible paths: /moov/trak/mdia/minf/stbl/stsd/mp4a/wave/esds or /moov/trak/mdia/minf/stbl/stsd/mp4a/wave/mp4a/esds
*
* @author Paul Gregoire ([email protected])
*/
public final class AppleWaveBox extends AbstractContainerBox {
public static final String TYPE = "wave";
public AppleWaveBox() {
super(TYPE);
}
}