Media Authoring
with Java API

tv.amwa.maj.record
Interface MultiCreateItem

All Known Implementing Classes:
MultiCreateItem

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.

Author:
Richard Cartwright
See Also:
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

getMediaKind

AUID getMediaKind()

Returns the kind of media represented by this item.

Returns:
Kind of media represented by this item.

setMediaKind

void setMediaKind(AUID mediaKind)
                  throws NullPointerException

Sets the kind of media represented by this item.

Parameters:
mediaKind - Kind of media represented by this item.
Throws:
NullPointerException - The given media kind is null.

getSampleRate

Rational getSampleRate()

Returns the sample rate of this item.

Returns:
Sample rate of this item.

setSampleRate

void setSampleRate(Rational sampleRate)
                   throws NullPointerException,
                          IllegalArgumentException

Sets the sample rate of this item.

Parameters:
sampleRate - Sample rate of this item.
Throws:
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.

getSlotID

@SlotID
int getSlotID()

Returns the slot id of this item within its mob.

Returns:
Slot id of this item.

setSlotID

void setSlotID(@SlotID
               int slotID)

Sets the slot id of this item within its mob.

Parameters:
slotID - Slot id of this item.
Throws:
IllegalArgumentException - The given slot id for this multi-create item is negative.

getSubTrackNum

@Int16
short getSubTrackNum()

Returns the sub track number associated with this item, which is the physical output channel.

Returns:
Sub track number associated with this item.

setSubTrackNum

void setSubTrackNum(@Int16
                    short subTrackNum)

Sets the sub track number associated with this item, which is the physical output channel.

Parameters:
subTrackNum - Sub track number associated with this item.

Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.