org.mobicents.media.server.impl.resource.video
Class SoundMediaHeaderBox
java.lang.Object
org.mobicents.media.server.impl.resource.video.Box
org.mobicents.media.server.impl.resource.video.FullBox
org.mobicents.media.server.impl.resource.video.SoundMediaHeaderBox
public class SoundMediaHeaderBox
- extends FullBox
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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoundMediaHeaderBox
public SoundMediaHeaderBox(long size,
java.lang.String type)
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 © 2009. All Rights Reserved.