|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.util.QTByteObject | +--quicktime.std.music.InstSampleDesc
Contains information about the mix state of a specified part.
Field Summary | |
static int |
kNativeSize
This is the size of this class |
Fields inherited from interface quicktime.jdirect.PrimitivesLib |
JDirect_MacOSX, libraryInstance |
Constructor Summary | |
InstSampleDesc()
Makes a instance of this class. |
Method Summary | |
int |
getDataFormat()
The data format type. |
int |
getLoopEnd()
Indicates the end of the portion of the sample that is looped if the sound is sustained. |
int |
getLoopStart()
Indicates the beginning of the portion of the sample that is looped if the sound is sustained. |
int |
getLoopType()
The type of loop. |
int |
getNumChannels()
The number of channels of data present in the sample. |
int |
getNumSamples()
The number of data samples in the sound. |
int |
getOffset()
Set to zero - this is the default. |
int |
getPitchHigh()
The highest pitch at which to play the sample. |
int |
getPitchLow()
The lowest pitch at which to play the sample. |
int |
getPitchNormal()
The number of the MIDI note produced if the sample is played at the rate specified in sampleRate. |
int |
getSampleDataID()
The ID number of a sample data atom that contains the sample audio data. |
float |
getSampleRate()
The rate at which to play the sample. |
int |
getSampleRateRaw()
The rate at which to play the sample in unsigned 16.16 format |
int |
getSampleSize()
The size of the sampleŃ 8-bit or 16-bit. |
void |
setDataFormat(int dataFormat)
The data format type. |
void |
setLoopEnd(int loopEnd)
Indicates the end of the portion of the sample that is looped if the sound is sustained. |
void |
setLoopStart(int loopStart)
Indicates the beginning of the portion of the sample that is looped if the sound is sustained. |
void |
setLoopType(int loopType)
The type of loop. |
void |
setNumChannels(int numChannels)
The number of channels of data present in the sample. |
void |
setNumSamples(int numSamples)
The number of data samples in the sound. |
void |
setOffset(int offset)
Set to zero - this is the default. |
void |
setPitchHigh(int pitchHigh)
The highest pitch at which to play the sample. |
void |
setPitchLow(int pitchLow)
The lowest pitch at which to play the sample. |
void |
setPitchNormal(int pitchNormal)
The number of the MIDI note produced if the sample is played at the rate specified in sampleRate. |
void |
setSampleDataID(int sampleDataID)
The ID number of a sample data atom that contains the sample audio data. |
void |
setSampleRate(float sampleRate)
The rate at which to play the sample. |
void |
setSampleRateRaw(int sampleRate)
The rate at which to play the sample in unsigned 16.16 format |
void |
setSampleSize(int sampleSize)
The size of the sampleŃ 8-bit or 16-bit. |
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 InstSampleDesc()
Method Detail |
public int getDataFormat()
public void setDataFormat(int dataFormat)
dataFormat
- public int getNumChannels()
public void setNumChannels(int numChannels)
numChannels
- public int getSampleSize()
public void setSampleSize(int sampleSize)
sampleSize
- public float getSampleRate()
public void setSampleRate(float sampleRate)
sampleRate
- public int getSampleRateRaw()
public void setSampleRateRaw(int sampleRate)
sampleRate
- public int getSampleDataID()
public void setSampleDataID(int sampleDataID)
sampleDataID
- public int getOffset()
public void setOffset(int offset)
offset
- public int getNumSamples()
public void setNumSamples(int numSamples)
numSamples
- public int getLoopType()
public void setLoopType(int loopType)
loopType
- public int getLoopStart()
public void setLoopStart(int loopStart)
loopStart
- public int getLoopEnd()
public void setLoopEnd(int loopEnd)
loopEnd
- public int getPitchNormal()
public void setPitchNormal(int pitchNormal)
pitchNormal
- public int getPitchLow()
public void setPitchLow(int pitchLow)
pitchLow
- public int getPitchHigh()
public void setPitchHigh(int pitchHigh)
pitchHigh
- 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 |