|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiCreateItem
Specifies an element of an array used to create interleaved audio and video essence.
Interleaved-essence: An essence format that combines two or more channels of audio or video data into a single essence stream.
MultiCreateItem
Method Summary | |
---|---|
AUID |
getMediaKind()
Returns the kind of media represented by this item. |
Rational |
getSampleRate()
Returns the sample rate of this item. |
int |
getSlotID()
Returns the slot id of this item within its mob. |
short |
getSubTrackNum()
Returns the sub track number associated with this item, which is the physical output channel. |
void |
setMediaKind(AUID mediaKind)
Sets the kind of media represented by this item. |
void |
setSampleRate(Rational sampleRate)
Sets the sample rate of this item. |
void |
setSlotID(int slotID)
Sets the slot id of this item within its mob. |
void |
setSubTrackNum(short subTrackNum)
Sets the sub track number associated with this item, which is the physical output channel. |
Method Detail |
---|
AUID getMediaKind()
Returns the kind of media represented by this item.
void setMediaKind(AUID mediaKind) throws NullPointerException
Sets the kind of media represented by this item.
mediaKind
- Kind of media represented by this item.
NullPointerException
- The given media kind is null
.Rational getSampleRate()
Returns the sample rate of this item.
void setSampleRate(Rational sampleRate) throws NullPointerException, IllegalArgumentException
Sets the sample rate of this item.
sampleRate
- Sample rate of this item.
NullPointerException
- The given sample rate for the item is null
.
IllegalArgumentException
- The given sample rate for this multi-create item has
a zero denominator or is negative.@SlotID int getSlotID()
void setSlotID(@SlotID int slotID)
Sets the slot id of this item within its mob.
slotID
- Slot id of this item.
IllegalArgumentException
- The given slot id for this multi-create item is negative.@Int16 short getSubTrackNum()
Returns the sub track number associated with this item, which is the physical output channel.
void setSubTrackNum(@Int16 short subTrackNum)
Sets the sub track number associated with this item, which is the physical output channel.
subTrackNum
- Sub track number associated with this item.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |