|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.std.comp.ComponentIdentifier
|
+--quicktime.std.comp.Component
|
+--quicktime.std.sg.SGChannel
|
+--quicktime.std.sg.AudioChannel
|
+--quicktime.std.sg.SGSoundChannel
Assists in importing sound into a movie.
The SGChannel implements methods for a corresponding QuickTime
ComponentInstance structure.
QuickTime Components::SGChannel
| Field Summary |
| Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
| Constructor Summary | |
SGSoundChannel(SequenceGrabber owner)
Creates a sequence grabber channel and assigns a channel component to the channel. |
|
| Method Summary | |
SPBDevice |
getInputDriver()
Get the Sound Input Driver. |
int |
getRecordChunkSize()
Get the buffer size (in seconds) of the record buffer QuickTime::SGGetSoundRecordChunkSize |
SoundDescription |
getSoundDescription()
This method allows you to retrieve a music sample description from the SGChannel. |
SGChannelInfo |
getSoundInputParameters()
Get some parameters that relate to the current sound recording. |
float |
getSoundInputRate()
Get the Sound Input Rate QuickTime::SGGetSoundInputRate |
void |
setInputDriver(java.lang.String driverName)
Set the Sound Input Driver, Automatically calls SGSoundInputDriverChanged QuickTime::SGSetSoundInputDriver QuickTime::SGSoundInputDriverChanged |
void |
setRecordChunkSize(int seconds)
Set the buffer size for sound recording in seconds QuickTime::SGSetSoundRecordChunkSize |
void |
setSoundInputParameters(int sampleSize,
int numChannels,
int compressionType)
Set some parameters that relate to sound recording. |
void |
setSoundInputRate(float rate)
Set the Sound Input Rate QuickTime::SGSetSoundInputRate |
| Methods inherited from class quicktime.std.sg.AudioChannel |
getVolume, setVolume |
| Methods inherited from class quicktime.std.sg.SGChannel |
getDataSourceName, getDeviceList, getPlayFlags, getSampleDescription, getSequenceGrabber, getSettings, getTimeScale, getUsage, setDataSourceName, setDevice, setOutput, setPlayFlags, setSettings, settingsDialog, settingsDialog, setUsage |
| Methods inherited from class quicktime.std.comp.Component |
count |
| Methods inherited from class quicktime.std.comp.ComponentIdentifier |
find, find, getInfo, toString |
| Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SGSoundChannel(SequenceGrabber owner)
throws StdQTException
owner - specifies the sequence grabber component the channel is attached to.| Method Detail |
public final SoundDescription getSoundDescription()
throws QTException
QTException
public void setSoundInputParameters(int sampleSize,
int numChannels,
int compressionType)
throws StdQTException
sampleSize - Specifies the number of bits in each sound sample.
Set this field to 8 for 8-bit sound; set it to 16 for 16-bit sound..numChannels - Specifies the number of sound channels used by the sound sample.
Set this field to 1 for monaural sounds; set it to 2 for stereo sounds...compressionType - Specifies the number of bits in each sound sample.
Set this field to 8 for 8-bit sound; set it to 16 for 16-bit sound..
StdQTException
public SGChannelInfo getSoundInputParameters()
throws StdQTException
StdQTException
public void setSoundInputRate(float rate)
throws StdQTException
rate - Specifies the rate at which the sound channel is to acquire data.
StdQTException
public float getSoundInputRate()
throws StdQTException
StdQTException
public SPBDevice getInputDriver()
throws StdQTException
StdQTException
public void setRecordChunkSize(int seconds)
throws StdQTException
seconds - the buffer size for the channel to use.
StdQTException
public int getRecordChunkSize()
throws StdQTException
StdQTException
public void setInputDriver(java.lang.String driverName)
throws StdQTException
StdQTException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||