|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.util.QTHandleRef
|
+--quicktime.std.movies.media.SampleDescription
|
+--quicktime.std.movies.media.SoundDescription
This class maps the SoundDescription record of the MovieToolbox. SoundDescriptions are used when adding and getting media samples to/from Sound tracks.
| Field Summary | |
static int |
kNativeSize
This is the size (the number of bytes) that are required for this class |
| Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
| Constructor Summary | |
SoundDescription(int format)
This constructor makes an empty SoundDescription object. |
|
| Method Summary | |
void |
addExtension(QTHandleRef extension,
int idType)
Add application specific info to a Sound Description object QuickTime::AddSoundDescriptionExtension |
java.lang.Object |
clone()
Implementation of Cloneable Interface. |
int |
getCompressionID()
|
static EndianDescriptor |
getEndianDescriptor()
Returns the EndianDescriptor for this class. |
QTHandle |
getExtension(int idType)
Retrieve application specific info from a Sound Description object QuickTime::GetSoundDescriptionExtension |
int |
getNumberOfChannels()
|
int |
getNumChannels()
|
int |
getPacketSize()
|
int |
getRevLevel()
|
float |
getSampleRate()
|
int |
getSampleRateRounded()
|
int |
getSampleSize()
|
int |
getVendor()
|
int |
getVersion()
|
void |
removeExtension(int idType)
Remove application specific info from a Sound Description object QuickTime::RemoveSoundDescriptionExtension |
void |
setCompressionID(int compressionID)
|
void |
setNumberOfChannels(int numChannels)
|
void |
setNumChannels(int numChannels)
|
void |
setPacketSize(int packetSize)
|
void |
setRevLevel(int revLevel)
|
void |
setSampleRate(float sampleRate)
|
void |
setSampleSize(int sampleSize)
|
void |
setVendor(int vendor)
|
void |
setVersion(int version)
|
java.lang.String |
toString()
Print information about this object. |
| Methods inherited from class quicktime.std.movies.media.SampleDescription |
fromMovieImporter, getDataFormat, getDataRefIndex, getSize, setDataFormat, setDataRefIndex, setSize |
| Methods inherited from class quicktime.util.QTHandleRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, fromCompressionDialogState, fromSCSequence, getBytes, inMemory, isLocked, lock, lockHigh, moveHigh, toQTPointer, toQTPointer, unlock |
| Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int kNativeSize
| Constructor Detail |
public SoundDescription(int format)
throws QTException
format - the format of the sound data that the object describes| Method Detail |
public static EndianDescriptor getEndianDescriptor()
public java.lang.Object clone()
clone in class SampleDescriptionpublic void setVersion(int version)
public int getVersion()
public void setRevLevel(int revLevel)
public int getRevLevel()
public void setVendor(int vendor)
public int getVendor()
public void setNumberOfChannels(int numChannels)
public int getNumberOfChannels()
public void setNumChannels(int numChannels)
public int getNumChannels()
public void setSampleSize(int sampleSize)
public int getSampleSize()
public void setCompressionID(int compressionID)
public int getCompressionID()
public void setPacketSize(int packetSize)
public int getPacketSize()
public void setSampleRate(float sampleRate)
public float getSampleRate()
public int getSampleRateRounded()
public java.lang.String toString()
toString in class SampleDescription
public void addExtension(QTHandleRef extension,
int idType)
throws QTException
extension - a QTHandle containing the info to add to the sound descriptionidType - an OSType used to tag the information for later retrieval or removal
QTException
public void removeExtension(int idType)
throws QTException
idType - an OSType identifying the information for removal
QTException
public QTHandle getExtension(int idType)
throws QTException
idType - an OSType identifying the information for removal
QTException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||