org.mobicents.media.server.impl.resource.mediaplayer.mpeg
Class SoundMediaHeaderBox
java.lang.Object
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.FullBox
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.SoundMediaHeaderBox
public class SoundMediaHeaderBox
- extends FullBox
8.4.5.3 Sound Media Header Box
The sound media header contains general presentation information, independent of the coding, for audio media. This
header is used for all tracks containing audio.
- Author:
- kulikov, amit bhayani
| Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box |
bytetoTypeMap |
|
Method Summary |
double |
getBalance()
Gets the balance of the audio track in stereo space. |
protected int |
load(java.io.DataInputStream fin)
Loads Box from stream. |
| Methods inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box |
comparebytes, getSize, getType, read, read16, read24, read32, readFixedPoint1616, readText, readType, readU32, readU64 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoundMediaHeaderBox
public SoundMediaHeaderBox(long size)
getBalance
public double getBalance()
- Gets the balance of the audio track in stereo space.
- Returns:
- number that places mono audio tracks in a stereo space
load
protected int load(java.io.DataInputStream fin)
throws java.io.IOException
- Description copied from class:
Box
- Loads Box from stream.
- Overrides:
load in class FullBox
- Parameters:
fin - the stream to load box from
- Returns:
- the number of bytes readed from stream; *
- Throws:
java.io.IOException - if some I/O error occured.
Copyright © 2010. All Rights Reserved.