|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.util.QTByteObject | +--quicktime.sound.CompressionInfo
Contains information about the compression format of sound data.
Field Summary | |
static int |
kNativeSize
This is the size of this class |
Fields inherited from interface quicktime.jdirect.SoundLib |
JDirect_MacOSX, libraryInstance |
Fields inherited from interface quicktime.jdirect.InterfaceLib |
JDirect_MacOSX, libraryInstance |
Fields inherited from interface quicktime.jdirect.PrimitivesLib |
JDirect_MacOSX, libraryInstance |
Constructor Summary | |
CompressionInfo()
Makes an instance of this class. |
Method Summary | |
static CompressionInfo |
get(int compressionID,
int format,
int numChannels,
int sampleSize)
Gets the CompressionInfo structure given the supplied information QuickTime::GetCompressionInfo |
int |
getBytesPerFrame()
The bytesPerFrame. |
int |
getBytesPerPacket()
The bytesPerPacket. |
int |
getBytesPerSample()
The bytesPerSample. |
int |
getCompressionID()
The compressionID. |
int |
getFormat()
The format. |
int |
getRecordSize()
The recordSize. |
int |
getSamplesPerPacket()
The samplesPerPacket. |
void |
setBytesPerFrame(int bytesPerFrame)
The bytesPerFrame. |
void |
setBytesPerPacket(int bytesPerPacket)
The bytesPerPacket. |
void |
setBytesPerSample(int bytesPerSample)
The bytesPerSample. |
void |
setCompressionID(int compressionID)
The compressionID. |
void |
setFormat(int format)
The format. |
void |
setRecordSize(int recordSize)
The recordSize. |
void |
setSamplesPerPacket(int samplesPerPacket)
The samplesPerPacket. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class quicktime.util.QTByteObject |
equals, fromArray, getBytes, getSize |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int kNativeSize
Constructor Detail |
public CompressionInfo()
Method Detail |
public static CompressionInfo get(int compressionID, int format, int numChannels, int sampleSize) throws SoundException
compressionID
- the id of the compression typeformat
- the OSType that describes the compression usednumChannels
- the number of channels in the sound datasampleSize
- the size of the samplepublic int getRecordSize()
public void setRecordSize(int recordSize)
recordSize
- public int getFormat()
public void setFormat(int format)
format
- public int getCompressionID()
public void setCompressionID(int compressionID)
compressionID
- public int getSamplesPerPacket()
public void setSamplesPerPacket(int samplesPerPacket)
samplesPerPacket
- public int getBytesPerPacket()
public void setBytesPerPacket(int bytesPerPacket)
bytesPerPacket
- public int getBytesPerFrame()
public void setBytesPerFrame(int bytesPerFrame)
bytesPerFrame
- public int getBytesPerSample()
public void setBytesPerSample(int bytesPerSample)
bytesPerSample
- public java.lang.String toString()
toString
in class QTByteObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |